-
Notifications
You must be signed in to change notification settings - Fork 48
/
config.toml
98 lines (85 loc) · 3.7 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
###################################################
# BUILT-IN CONFIGURATION OPTOINS #
# https://gohugo.io/getting-started/configuration #
###################################################
baseURL = "https://texify.queensferry.me" # website root path
disqusShortname = "" # disqus shortcode
enableGitInfo = false # retrieve last modified date from git commits
enableRobotsTXT = true # /robots.txt
googleAnalytics = "" # google analytics id
hasCJKLanguage = true # Chinese/Japanese/Korean
languageCode = "en" # content language
paginate = 5 # number of posts each page
rssLimit = 10 # maximum items in rss feeds
theme = "hugo-theme-texify" # theme directory name
title = "TeXify" # website title
[author]
email = "me@example.com" # your email
name = "author" # your name
# https://gohugo.io/getting-started/configuration-markup
[markup]
defaultMarkdownHandler = "goldmark"
[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 = "post" # section id
name = "Post" # section display title
url = "/" # path to the section
weight = 1 # order of sections
[[menu.main]]
identifier = "archives"
name = "Archives"
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"
########################
# TEXIFY THEME OPTIONS #
########################
[params]
description = "an example site for hugo theme TeXify" # website description
favicon = "favicon.ico" # path to website icon, relative to ./static
footnote = """
Follow me on <a class=link href=https://github.com/queensferryme>GitHub</a>,
<a class=link href=https://twitter.com/queensferryme>Twitter</a> or
<a class=link href=/index.xml>RSS</a> |
<a class=link href=https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh target=_blank rel=noopener>CC BY-NC-SA 4.0</a>
""" # notes in the website footer
keywords = ["hugo", "latex", "theme"] # website keywords
customCSS = [] # path to custom css files, relative to ./static
customJS = [] # path to custom js files, relative to ./static
dateFormat = "2006-01-02" # date format, see https://gohugo.io/functions/format/
fullTextRSS = true # 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 = "2019" # website created year
toc = false # whether to enable table of contents in posts
# https://giscus.app
[params.giscus]
enable = false # whether to enable giscus
# paste giscus' <script></script> configuration between the triple quotes
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 = """
"""