From 239d68f94c6250276850fbe95eaa6cdd5c38fb26 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Sat, 16 Nov 2024 19:32:18 +0300 Subject: Своя тема, полностью всё переделал MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hugo.toml | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 hugo.toml (limited to 'hugo.toml') diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..6cf4e62 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,113 @@ +baseURL = "https://neonxp.ru/" +languageCode = "ru-RU" +DefaultContentLanguage = "ru" +Title = "~/neonxp.log" +enableRobotsTXT = true +theme = "neonxp" + +[params] +logo = "/img/logo.png" + +[params.imageProcessing.cover] +enabled = true + +[params.imageProcessing.content] +enabled = true + +[params.dateFormat] +published = "02.01.2006" +lastUpdated = "15:04 02.01.2006" + +[params.comments] +host = "https://comments.neonxp.ru" +site = "neonxp_ru" +locale = "ru" + +[[menus.main]] +name = 'Проекты' +pageRef = '/projects' +weight = 10 + +[[menus.main]] +name = 'Бортжурнал' +pageRef = '/posts' +weight = 20 + +[[menus.main]] +name = 'Заметки' +pageRef = '/notes' +weight = 30 + +[[menus.main]] +name = 'Обо мне' +pageRef = '/pages/me' +weight = 50 + +[[menus.sections]] +name = 'Бортжурнал' +pageRef = '/posts' +weight = 10 + +[[menus.sections]] +name = 'Гостевая книга' +pageRef = '/pages/guestbook/' +weight = 20 + +[[menus.sections]] +name = 'Заметки' +pageRef = '/notes' +weight = 30 + +[[menus.sections]] +name = 'Проекты' +pageRef = '/projects' +weight = 40 + +[[menus.sections]] +name = 'Архив блога' +pageRef = '/archive' +weight = 100 + + +[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 + +[outputs] +page = ["html"] +home = ["html"] +sections = ["html", "rss"] +post = ["html"] + +[pagination] +disableAliases = false +pagerSize = 10 +path = "page" + +# [taxonomies] +# tag = 'Тег' +# category = "categories" \ No newline at end of file -- cgit v1.2.3