aboutsummaryrefslogtreecommitdiff
path: root/hugo.toml
blob: c8f69d7a5e4b5fe901913e0b96f868ceebee71c7 (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
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.goldmark.renderer]
unsafe = true

[markup.tableOfContents]
endLevel = 4
ordered = true
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"]
home = ["html", "json", "gemini"]
section = ["html", "rss", "json", "gemini"]
taxonomy = ["html", "gemini"]
term = ["html", "gemini"]

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

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

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