aboutsummaryrefslogtreecommitdiffstats
path: root/hugo.toml
blob: a8789c59de0c3872989efd0c7d8155e12d7328e7 (plain) (blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
baseURL = "https://blog.verdant.ee/"
title = "映屿"
languageCode = "zh-cn"
hasCJKLanguage = true
enableRobotsTXT = true
pagination.pagerSize = 5
copyright = "Copyright © 2024 - 2026, Verdant."

[outputFormats]
  [outputFormats.RSS]
    baseName = "atom"
    mediaType = "application/rss+xml"
    isPlainText = true
    rel = "alternate"
    protocol = "http://"
    path = ""

[markup.goldmark.renderer]
unsafe = true

[markup.goldmark.parser]
  [markup.goldmark.parser.attribute]
  block = true
  title = true
  wrapStandAloneImageWithinParagraph = false

[markup]
  [markup.tableOfContents]
    startLevel = 2
    endLevel = 3
    ordered = false

[markup.highlight]
    codeFences = false
    guessSyntax = false
    style = "emacs"
    noClasses = true

[taxonomies]
    category = "categories"
    tag = "tags"

[[menu.main]]
    name = "分类"
    url = "/categories/"
    weight = 2
[[menu.main]]
    name = "友人"
    url = "/links/"
    weight = 3
[[menu.main]]
    name = "归档"
    url = "/archives/"
    weight = 4
[[menu.main]]
    name = "关于"
    url = "/about/"
    weight = 6

[params]
    upvote = false
    upvoteURL = "https://upvote.glowisle.me/"
    description = "Verdant 的博客。关于互联网、书籍、生活琐事以及那些一闪而过的念头。计算机技术 & 读书感悟 & 日常随笔。映屿(GlowIsle)"
    postSearch = false
    groupByYear = true
    showPostCount = true
    favicon = "/favicon.ico"
    hideMadeWithLine = true
    imageZoom = true
	mainSections = ["posts"]

  [params.author]
    name = "五葉地錦"
    email = "im@verdant.ee"

  [params.footer]
    content = "© 2024 - 2026 [Verdant](https://verdant.ee). Build with Hugo."

[security.goTemplates]
allowActionJSTmpl = true

disableHugoGeneratorInject = true

[minify]
  disableXML = false
  minifyOutput = true
  [minify.tdewolff.html]
    keepComments = false
    keepSpecialComments = true  
    keepDefaultAttrVals = true
    keepDocumentTags = true
    keepEndTags = true
    keepQuotes = false