aboutsummaryrefslogtreecommitdiffstats
path: root/hugo.toml
blob: e8dd72091250e5ef188f76e4fc22353e4140c766 (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
baseURL = "https://www.glowisle.me/"
title = "映屿"
hasCJKLanguage = true
enableRobotsTXT = true
pagination.pagerSize = 5
defaultContentLanguage = "zh-CN"
copyright = "Copyright © 2024 - 2026, GlowIsle."

[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.goldmark.extensions]
  [markup.goldmark.extensions.extras]
    [markup.goldmark.extensions.extras.mark]
    enable = true

[markup.highlight]
guessSyntax = true
noClasses = true
style = "evergarden"
tabWidth = 4

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



[languages]
  [languages.zh-cn]
    languageName = "中文"
    weight = 1
    title = "映屿"
    # 中文菜单
    [[languages.zh-cn.menu.main]]
        name = "分类"
        url = "/categories/"
        weight = 2
    [[languages.zh-cn.menu.main]]
        name = "友人"
        url = "/links/"
        weight = 3
    [[languages.zh-cn.menu.main]]
        name = "归档"
        url = "/archives/"
        weight = 4
   [[languages.zh-cn.menu.main]]
        name = "关于"
        url = "/about/"
        weight = 6
  [languages.en]
    languageName = "English"
    contentDir = "content/en"
    title = "GlowIsle"
    weight = 2
    # 英文菜单
   [[languages.en.menu.main]]
        name = "Categories"
        url = "/categories/"
        weight = 2
    [[languages.en.menu.main]]
        name = "Links"
        url = "/links/"
        weight = 3
    [[languages.en.menu.main]]
        name = "Archives"
        url = "/archives/"
        weight = 4
    [[languages.en.menu.main]]
        name = "Readings"
        url = "/readings/"
 	weight = 5
    [[languages.en.menu.main]]
        name = "About"
        url = "/about/"
        weight = 6
[params]
	upvote = false
    upvoteURL = "https://upvote.glowisle.me/"
	description = "关于互联网、书籍、生活琐事以及那些一闪而过的念头。计算机技术 & 读书感悟 & 日常随笔。映屿(GlowIsle)"
	postSearch = false
	groupByYear = true
	toc = true 
	showPostCount = true
	favicon = "/favicon.png"
    hideMadeWithLine = true
    imageZoom = true

  [params.author]
    name = "五葉地錦"
    email = "i@glowisle.me"

  [params.footer]
    content = "© 2024 - 2026 | Made with ❤️ by [Verdant](https://verdant.ee)."