summaryrefslogtreecommitdiff
path: root/config/_default/hugo.toml
blob: 9704b5aa967b9e7b6c88f0edb657d86a2d637a41c3f628f35b59f5cf07e66f74 (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
[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.
    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