summaryrefslogtreecommitdiffstats
path: root/hugo.toml
blob: b2835e59f40870344030d6b2d77a3e59d76dad9a (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
baseURL = "https://www.glowisle.me/"
title = "映屿"
hasCJKLanguage = true
enableRobotsTXT = true
pagination.pagerSize = 5
languageCode = "zh-CN"
copyright = "Copyright © 2024, GlowIsle."

[outputFormats]
  [outputFormats.RSS]
    baseName = "atom"  # 更改文件名(不带扩展名)
    mediaType = "application/rss+xml"
    isPlainText = true
    rel = "alternate"
    protocol = "http://"
    path = ""  # 保持路径在根目录

[markup]
  defaultMarkdownHandler = "goldmark"
  [markup.highlight]
    codeFences = true
    guessSyntax = true
    lineNos = true
    lineNumbersInTable = true
    noClasses = false
    style = "onedark"
    tabWidth = 4

  [markup.goldmark]
    [markup.goldmark.extensions]
      definitionList = true
      footnote = true
      linkify = true
      strikethrough = true
      table = true
      taskList = true
      typographer = true

    [markup.goldmark.parser]
      attribute = true
      autoHeadingID = true
      autoHeadingIDType = "github"

    [markup.goldmark.renderer]
      unsafe = true
      hardWraps = false
      xHTML = false

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

[menu]

[[menu.main]]
    name = "分类"
    url = "/categories/"
    weight = 2

[[menu.main]]
    name = "友人"
    url = "/links/"
    weight = 3

[[menu.main]]
    name = "归档"
    url = "/archives"
    weight = 3

[[menu.main]]
    name = "书单"
    url = "/readings"
    weight = 3

[[menu.main]]
    name = "关于"
    url = "/about"
    weight = 6

[params]
	upvote = true
    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."