-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhugo.toml
More file actions
78 lines (67 loc) · 1.56 KB
/
hugo.toml
File metadata and controls
78 lines (67 loc) · 1.56 KB
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
baseURL = "https://ostring.github.io"
languageCode = "en"
DefaultContentLanguage = "en"
title = "Website of OString"
publishDir = "docs"
# theme as hugo module
# theme = "github.com/lxndrblz/anatole"
# theme as git submodule
theme = "anatole"
[params]
author = "OString"
description = "Welcome to OString's Website"
profilePicture = "images/profile.jpg"
[menu]
[[menu.main]]
name = "Home"
url = "/"
weight = 1
[[menu.main]]
name = "DataCenter"
url = "/posts/data_center/"
weight = 2
[[menu.main]]
name = "TechNews"
url = "/posts/tech_news/"
weight = 3
[[menu.main]]
name = "About"
url = "/about/"
weight = 4
summarylength = 10
enableEmoji = true
enableRobotsTXT = true
[frontmatter]
title = ["title", "h1"] # Use front matter title first, then h1 title
date = ["date", ":fileModTime"] # Use file modification time as date
# Syntax highlighting
pygmentsUseClasses = true
pygmentsCodeFences = true
pygmentsCodefencesGuessSyntax = true
# Localized dates requires Hugo version 0.87.0
localizedDates = false
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe=true
[taxonomies]
category = "categories"
series = "series"
tag = "tags"
[related]
includeNewer = true
threshold = 80
toLower = true
[[related.indices]]
name = 'keywords'
weight = 100
[[related.indices]]
name = 'tags'
weight = 80
[services]
# Enable Disqus.Disqus.Shortname
[services.disqus]
#shortname = 'your-disqus-shortname'
# Google Analytics
[services.googleAnalytics]
#ID = 'G-MEASUREMENT_ID'