diff options
Diffstat (limited to 'hugo.toml')
-rw-r--r-- | hugo.toml | 66 |
1 files changed, 28 insertions, 38 deletions
@@ -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"] |