aboutsummaryrefslogtreecommitdiff
path: root/hugo.toml
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-15 03:56:47 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-15 03:56:47 +0300
commita9168e6f04f766f7d88bc1b24aaa81336098b2fc (patch)
treea4db599140020cfb14803aa4d28b17d52e637a72 /hugo.toml
parent3b040f1503d90a309f41063d8f760a3e312ab351 (diff)
Auto-commit 2024-12-15
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml66
1 files changed, 28 insertions, 38 deletions
diff --git a/hugo.toml b/hugo.toml
index 5b26f94..23327ba 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -1,8 +1,12 @@
baseURL = "https://neonxp.ru/"
languageCode = "ru-RU"
-DefaultContentLanguage = "ru"
-Title = "neonxp.log"
+defaultContentLanguage = "ru"
+title = "neonxp.log"
enableRobotsTXT = true
+enableGitInfo = true
+noBuildLock = true
+noChmod = true
+
[params]
logo = "/img/logo.png"
@@ -23,6 +27,11 @@ site = "neonxp_ru"
locale = "ru"
[[menus.main]]
+name = 'Бортжурнал'
+pageRef = '/posts'
+weight = 5
+
+[[menus.main]]
name = 'Проекты'
pageRef = '/projects'
weight = 10
@@ -33,59 +42,40 @@ pageRef = '/projects/games'
weight = 15
[[menus.main]]
-name = 'Бортжурнал'
-pageRef = '/posts'
+name = 'Git'
+url = 'https://git.neonxp.ru'
weight = 20
[[menus.main]]
+name = 'Go модули'
+url = '/go/'
+weight = 25
+
+[[menus.main]]
name = 'Заметки'
pageRef = '/notes'
-weight = 30
+weight = 35
[[menus.main]]
name = 'Обо мне'
pageRef = '/pages/me'
-weight = 50
+weight = 40
-[[menus.sections]]
-name = 'Бортжурнал'
-pageRef = '/posts'
-weight = 10
-[[menus.sections]]
-name = 'Гостевая книга'
+[[menus.main]]
+name = 'Гостевуха'
pageRef = '/pages/guestbook/'
-weight = 20
+weight = 45
-[[menus.sections]]
+[[menus.main]]
name = 'Заметки'
pageRef = '/notes'
-weight = 30
-
-[[menus.sections]]
-name = 'Проекты'
-pageRef = '/projects'
-weight = 40
-
-[[menus.sections]]
-name = 'Мой git'
-url = 'https://git.neonxp.ru'
weight = 50
-[[menus.sections]]
-name = 'Мои Go модули'
-url = 'https://neonxp.ru/go/'
-weight = 60
-
-[[menus.sections]]
-name = 'Игры'
-pageRef = '/projects/games'
-weight = 70
-
-[[menus.sections]]
-name = 'Архив блога'
+[[menus.main]]
+name = 'Архив'
pageRef = '/archive'
-weight = 100
+weight = 55
[permalinks]
@@ -118,7 +108,7 @@ tabWidth = 4
[outputs]
page = ["html"]
-home = ["html"]
+home = ["html", "json"]
section = ["html", "rss"]