aboutsummaryrefslogtreecommitdiff
path: root/hugo.toml
blob: bc8499b4ef45f4b1a260b08a1362c8a95f0a7c70 (plain) (blame)
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
baseURL = "https://neonxp.ru/"
languageCode = "ru-RU"
defaultContentLanguage = "ru"
title = "neonxp.log"
enableRobotsTXT = true
enableGitInfo = true
noBuildLock = true
noChmod = true


[params]
logo = "/img/logo.webp"

[params.imageProcessing.cover]
enabled = true

[params.imageProcessing.content]
enabled = true

[params.dateFormat]
published = "Monday, 02 January 2006"
lastUpdated = "15:04 02.01.2006"

[params.comments]
host = "https://comments.neonxp.ru"
site = "neonxp_ru"
locale = "ru"

[[menus.main]]
name = 'Бортжурнал'
pageRef = '/posts'
weight = 5

[[menus.main]]
name = 'Проекты'
pageRef = '/projects'
weight = 10

[[menus.main]]
name = 'Игры'
pageRef = '/projects/games'
weight = 15

[[menus.main]]
name = 'Git'
url = 'https://git.neonxp.ru'
weight = 20

[[menus.main]]
name = 'Go модули'
url = '/go/'
weight = 25

[[menus.main]]
name = 'Заметки'
pageRef = '/notes'
weight = 35

[[menus.main]]
name = 'Обо мне'
pageRef = '/pages/me'
weight = 40


[[menus.main]]
name = 'Гостевуха'
pageRef = '/pages/guestbook/'
weight = 45

[[menus.main]]
name = 'Заметки'
pageRef = '/notes'
weight = 50

[[menus.main]]
name = 'Архив'
pageRef = '/archive'
weight = 55


[permalinks]
post = "/post/:year/:month/:slug/"
page = "/pages/:slug/"

# [markup.goldmark.extensions.passthrough]
# enable = true

# [markup.goldmark.extensions.passthrough.delimiters]
# block = [["\\[", "\\]"], ["$$", "$$"]]
# inline = [["\\(", "\\)"]]


[markup]
[markup.goldmark]
duplicateResourceFiles = false
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
linkifyProtocol = 'https'
strikethrough = true
table = true
taskList = true
[markup.goldmark.extensions.extras]
[markup.goldmark.extensions.extras.delete]
enable = false
[markup.goldmark.extensions.extras.insert]
enable = false
[markup.goldmark.extensions.extras.mark]
enable = false
[markup.goldmark.extensions.extras.subscript]
enable = false
[markup.goldmark.extensions.extras.superscript]
enable = false
[markup.goldmark.extensions.passthrough]
enable = false
[markup.goldmark.extensions.passthrough.delimiters]
block = []
inline = []
[markup.goldmark.extensions.typographer]
apostrophe = '’'
disable = false
ellipsis = '…'
emDash = '—'
enDash = '–'
leftAngleQuote = '«'
leftDoubleQuote = '“'
leftSingleQuote = '‘'
rightAngleQuote = '»'
rightDoubleQuote = '”'
rightSingleQuote = '’'
[markup.goldmark.parser]
autoHeadingID = true
autoHeadingIDType = 'github'
wrapStandAloneImageWithinParagraph = true
[markup.goldmark.parser.attribute]
block = false
title = true
[markup.goldmark.renderHooks]
[markup.goldmark.renderHooks.image]
enableDefault = false
[markup.goldmark.renderHooks.link]
enableDefault = false
[markup.goldmark.renderer]
hardWraps = false
unsafe = false
xhtml = false
[markup.tableOfContents]
endLevel = 4
ordered = false
startLevel = 1

[markup.highlight]
noClasses = false
codeFences = true
guessSyntax = true
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
tabWidth = 4

[mediaTypes]
[mediaTypes."text/gemini"]
suffixes = ["gmi"]
[mediaTypes."text/plain"]
suffixes = ["txt"]

[outputs]
page = ["html", "gemini", "text"]
home = ["html", "json", "gemini", "text"]
section = ["html", "rss", "json", "gemini", "text"]
taxonomy = ["html", "gemini", "text"]
term = ["html", "gemini", "text"]

[outputFormats.Gemini]
name = "gemini"
mediaType = "text/gemini"
baseName = "index"
isPlainText = true
permalinkable = true
isHTML = false
protocol = "gemini://"
noUgly = true

[outputFormats.Text]
name = "text"
mediaType = "text/plain"
baseName = "index"
isPlainText = true
permalinkable = true
isHTML = false
protocol = "gopher://"
noUgly = true

[pagination]
disableAliases = false
pagerSize = 10
path = "page"

# [taxonomies]
#   tag = 'Тег'
#   category = "categories"