summaryrefslogtreecommitdiff
path: root/config/_default/hugo.toml
blob: 78f2292580da0d95ae83299ae4c2af99b19c38d217c4d5ebaa8a38be177577b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[mediaTypes]
  [mediaTypes."application/atom"]
    suffixes = ["xml"]
  [mediaTypes."text/gemini"]
    suffixes = ["gmi"]

[outputFormats]
  [outputFormats.Atom]
    mediaType = "application/atom"
    baseName = "atom"
  [outputFormats.Gemini]
    mediaType = "text/gemini"
    isPlainText = true # Disable HTML renderer
    isHTML = false # Disable LiveReload, alias redirect, etc.
    permalinkable = true
    protocol = "gemini://"
  [outputFormats.Gemini_Atom]
    mediaType = "application/atom"
    baseName = "atom"
    protocol = "gemini://"

[markup]
  [markup.goldmark]
    [markup.goldmark.renderer]
      hardWraps = true
    [markup.goldmark.extensions]
      linkify = false