summaryrefslogtreecommitdiff
path: root/config/_default/hugo.toml
blob: 30e9bcd199a2b6e9d707f15a739578999fd5ae654c99319e08be6da2ef89f7d7 (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+xml"]
    suffixes = ["xml"]
  [mediaTypes."text/gemini"]
    suffixes = ["gmi"]

[outputFormats]
  [outputFormats.Atom]
    mediaType = "application/atom+xml"
    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+xml"
    baseName = "atom"
    protocol = "gemini://"

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