-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhugo.toml
119 lines (100 loc) · 3.1 KB
/
hugo.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
baseURL = 'https://nikitapro.com'
languageCode = 'en-us'
title = "Nikita Pro[rekhin]"
copyright = 'Nikita Prorekhin' # Used in the footer copyright mention.
enableRobotsTXT = true # IMPORTANT: set to true if you want to use the theme's genAI/LLM web crawler blocking feature.
enableEmoji = true
[module]
[[module.imports]]
path = "github.com/michenriksen/hugo-theme-til"
[outputs]
home = ['html']
section = ['html', 'rss', 'json']
page = ['html']
[menus]
[[menus.main]]
name = 'Home'
pageRef = '/'
weight = 5
#[[menus.main]]
# name = 'Posts'
# pageRef = '/posts'
# weight = 10
[[menus.main]]
name = 'Notes'
pageRef = '/notes'
weight = 20
#[[menus.main]]
# name = 'Graph'
# pageRef = '/graph'
# weight = 30
[[menus.main]]
name = "About"
pageRef = "/about"
weight = 40
[markup]
[markup.highlight]
noClasses = false
style = 'tokyonight-night'
[markup.goldmark]
[markup.goldmark.parser]
[markup.goldmark.parser.attribute]
block = true
[params]
# Set how dates should appear across the site.
# For format options, visit https://gohugo.io/functions/time/format/
# Default: :date_long
dateFormat = ':date_long'
# Show content graph for single notes and posts.
# Default: true
showGraph = false
# Author details for the JSON-LD structured data.
[params.author]
name = 'Nikita Prorekhin'
email = '[email protected]'
# Homepage setup
[params.home]
# Display recent blog posts on the homepage.
# Default: true
showRecentPosts = true
# Set how many recent blog posts to show.
# Default: 3
recentPostsLimit = 3
# Display recent notes on the homepage.
# Default: true
showRecentNotes = true
# Set how many recent notes to show.
# Default: 5
recentNotesLimit = 5
# Notes page setup
[params.notes]
# Set the number of notes to list on each page.
# Default: 20
pageSize = 20
# Show a filter option for note categories above the notes list.
# Default: true
showCategoryFilter = true
# Footer setup
[params.footer]
# Specify the Creative Commons license to apply to your content.
# Options: `by`, `by_sa`, `by_nc`, `by_nc_sa`, `by_nd`, `by_nc_nd`, `zero`, `none`
# Learn more at https://creativecommons.org/share-your-work/cclicenses/
# Default: none
creativeCommonsLicense = 'by_sa'
# Show Creative Commons icons for the selected license.
# Default: true
showCreativeCommonsIcons = true
# Show a credit link to the Today I Learned theme in the footer.
# Default: true
showThemeCredit = true
# robots.txt setup
# IMPORTANT: remember to set `enableRobotsTXT = true` in your site's hugo.toml file.
[params.robotstxt]
# Block CommonCrawl from indexing your site. CommonCrawl data is often used to train AI models.
# Learn more at https://commoncrawl.org/ccbot
# Default: false
blockCC = false
# Block various crawlers associated with AI and machine learning model training.
# Crawler list from https://github.com/ai-robots-txt/ai.robots.txt
# Default: false
blockAI = false