-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhugo.toml
More file actions
59 lines (56 loc) · 1.29 KB
/
hugo.toml
File metadata and controls
59 lines (56 loc) · 1.29 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
baseURL = "https://yx-fan.github.io/"
relativeURLs = false
canonifyURLs = true
languageCode = 'en-us'
title = 'Yuxin Fan'
theme = "ananke"
# Set production environment for proper indexing
env = "production"
[taxonomies]
tag = "tags"
category = "categories"
# Enable robots.txt generation
enableRobotsTXT = true
# Sitemap configuration - for SEO and search engine indexing
[sitemap]
# Default change frequency: monthly (updated once per month)
changefreq = "monthly"
# Default priority: 0.5 (medium priority)
priority = 0.5
# Sitemap filename
filename = "sitemap.xml"
# Exclude specific paths from sitemap
disable = false
[menu]
[[menu.main]]
name = "Home"
url = "/"
weight = 1
[[menu.main]]
name = "About Me"
url = "/about/"
weight = 2
[[menu.main]]
name = "Log"
url = "/log/"
weight = 3
[[menu.main]]
name = "Projects"
url = "/projects/"
weight = 4
[[menu.main]]
name = "Tags"
url = "/tags/"
weight = 5
[params]
mainSections = ["log", "projects"]
siteCreatedYear = 2024
# LinkedIn social icon - will appear in header navigation and footer
ananke_socials = [
{ name = "linkedin", url = "https://www.linkedin.com/in/fanyuxin/" }
]
[markup]
[markup.goldmark.renderer]
unsafe = true
ignoreLogs = ["warning-goldmark-raw-html"]
ignoreErrors = ["deprecation"]