-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml
103 lines (90 loc) · 3.79 KB
/
config.toml
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
# Configuration https://gohugo.io/getting-started/configuration
# baseURL = "https://ossnsut.ml/" # website root path
disqusShortname = "" # disqus shortcode
enableGitInfo = false # retrieve last modified date from git commits
enableRobotsTXT = true # /robots.txt
googleAnalytics = "" # google analytics id
hasCJKLanguage = false # Chinese/Japanese/Korean
languageCode = "en" # content language
paginate = 5 # number of posts each page
rssLimit = 10 # maximum items in rss feeds
theme = "ossn-theme" # theme directory name
title = "OSSN" # website title
[author]
email = "[email protected]" # your email
name = "OSSN" # your name
# https://gohugo.io/getting-started/configuration-markup
[markup]
defaultMarkdownHandler = "goldmark" # markdown parser
[markup.goldmark.renderer]
unsafe = true # enable html in markdown
[markup.highlight]
style = "emacs" # syntax highlight style, see https://xyproto.github.io/splash/docs/
# https://gohugo.io/content-management/menus/
[[menu.main]]
identifier = "home" # section id
name = "Home" # section display title
url = "/" # path to the section
weight = 1 # order of sections
[[menu.main]]
identifier = "blog"
name = "Blog"
url = "/post/"
weight = 2
[[menu.main]]
identifier = "about"
name = "About"
url = "/about/"
weight = 3
# https://gohugo.io/content-management/taxonomies#configure-taxonomies
[taxonomies]
series = "series" # see https://gohugo.io/templates/internal/#open-graph
tags = "tags"
# Theme Options
[params]
description = "The internet corner for OSSN" # website description
favicon = "favicon.ico" # path to website icon, relative to ./static
footnote = """<a class=link href=https://github.com/ossnsut>GitHub</a> | <a class=link href=/index.xml>RSS</a>""" # notes in the website footer
keywords = ["hugo", "NSUT", "blog", "open source"] # website keywords
customCSS = [] # path to custom css files, relative to ./static
customJS = [] # path to custom js files, relative to ./static
dateFormat = "January 2, 2006" # date format, see https://gohugo.io/functions/format/
fullTextRSS = false # output full-text (instead of only summary) rss
emphasisWithDots = true # use dots to emphasize chinese texts, see https://zh.wikipedia.org/wiki/%E7%9D%80%E9%87%8D%E5%8F%B7
since = "2022" # website created year
toc = true # whether to enable table of contents in posts
# https://giscus.app
[params.giscus]
enable = true # whether to enable giscus
# paste giscus' <script></script> configuration between the triple quotes
script = """
<script src="https://giscus.app/client.js"
data-repo="ossnsut/ossnsut.github.io"
data-repo-id="R_kgDOId3CUQ"
data-category="Ideas"
data-category-id="DIC_kwDOId3CUc4CTdZS"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="preferred_color_scheme"
data-lang="en"
crossorigin="anonymous"
async>
</script>
"""
[params.math]
enable = false # whether to enable math typesetting
use = "katex" # katex or mathjax
[params.outdated]
enable = false # whether to display warnings for outdated posts
limit = 1000 # days between last modified time and outdated time
# warning to be displayed
warning = "⚠️ It has been <i>%d</i> days since the last update, the content of the article may be outdated."
# https://utteranc.es
[params.utterances]
enable = false # whether to enable utterances
# paste utterances' <script></script> configuration between the triple quotes
script = """
"""