sitoctt/hugo.toml

64 lines
1.4 KiB
TOML

title = "✨sitoctt✨"
baseURL = "https://sitoctt.octt.eu.org/"
#relativeURLs = true
theme = ["hugo-notice", "ananke"]
disablePathToLower = true
sectionPagesMenu = "main"
defaultContentLanguage = "it"
defaultContentLanguageInSubdir = true
[permalinks]
[permalinks.page]
blog = ":section/:year-:month-:day-:slug/"
note = ":section/:year-:month-:day-:slug/"
miscellanea = ":sections/:slug/"
[languages]
[languages.it]
contentDir = "content/it"
languageDirection = "ltr"
languageName = "Italiano"
weight = 1
[languages.it.params]
languageEmoji = "🇮🇹"
[languages.en]
contentDir = "content/en"
languageDirection = "ltr"
languageName = "English"
weight = 2
[languages.en.params]
languageEmoji = "🇬🇧"
#[languages.fr]
# contentDir = "content/fr"
# languageDirection = "ltr"
# languageName = "Français"
# weight = 3
[markup]
[markup.goldmark]
[markup.goldmark.parser]
[markup.goldmark.parser.attribute]
block = true
title = true
[markup.goldmark.renderer]
unsafe = true
[params]
favicon = "/favicon.ico"
author = "OctoSpacc"
recent_posts_number = 5
other_posts_number = 5
toc = true
show_reading_time = true
#custom_css = [ "Global.scss", "sitoctt.scss" ]
[outputFormats]
[outputFormats.SearchIndex]
mediaType = "text/javascript"
baseName = "searchindex"
isPlainText = true
[outputs]
home = [ "HTML", "SearchIndex" ]