diff options
Diffstat (limited to 'hugo.toml')
-rw-r--r-- | hugo.toml | 113 |
1 files changed, 113 insertions, 0 deletions
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 |