diff options
Diffstat (limited to 'config/_default/hugo.toml')
| -rw-r--r-- | config/_default/hugo.toml | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml new file mode 100644 index 0000000..77feef0 --- /dev/null +++ b/config/_default/hugo.toml @@ -0,0 +1,114 @@ +title = "Hinode" +copyright = "Copyright © 2024 Mark Dumay." +enableGitInfo = true + +# additional settings +baseURL = "https://example.com/" +canonifyURLs = false +enableEmoji = true +enableRobotsTXT = true +enableInlineShortcodes = true +summaryLength = 20 + +# prevent build failures when using Hugo's Instagram shortcode due to deprecated Instagram API. +# See https://github.com/gohugoio/hugo/issues/7228#issuecomment-714490456 +ignoreErrors = ["error-remote-getjson"] + +timeout = "180s" + +languageCode = "en-us" +defaultContentLanguage = "en" +defaultContentLanguageInSubdir = false + +[outputFormats.REDIR] +mediaType = "text/netlify" +baseName = "_redirects" +isPlainText = true +notAlternative = true + +[mediaTypes."text/netlify"] +delimiter = "" + +[outputs] +home = ["HTML", "RSS", "REDIR"] + +[build] + writeStats = true + +[taxonomies] + tag = 'tags' + +[pagination] + pagerSize = 9 + +[privacy] + [privacy.vimeo] + disabled = false + simple = true + + [privacy.twitter] + disabled = false + enableDNT = true + simple = true + + [privacy.instagram] + disabled = false + simple = true + + [privacy.youtube] + disabled = false + privacyEnhanced = true + +[services] + [services.instagram] + disableInlineCSS = true + [services.twitter] + disableInlineCSS = true + [services.googleAnalytics] + # ID = "G-xxxxxxxxxx" + +[outputFormats] + [outputFormats.XML] + isPlainText = false + mediaType = "application/xml" + isHtml = false + noUgly = true + permalinkable = false + name = "xml" + +[minify] + [minify.tdewolff.js] + keepVarNames = true + precision = 0 + version = 2022 + [minify.tdewolff.html] + keepWhitespace = true + +[module] + [module.hugoVersion] + extended = true + min = "0.134.0" + max = "" + [[module.mounts]] + source = "archetypes" + target = "archetypes" + [[module.mounts]] + source = "assets" + target = "assets" + [[module.mounts]] + source = "content" + target = "content" + [[module.mounts]] + source = "i18n" + target = "i18n" + [[module.mounts]] + source = "layouts" + target = "layouts" + [[module.mounts]] + source = "static" + target = "static" + [[module.mounts]] + source = "netlify.toml" + target = "assets/config/netlify.toml" + [[module.imports]] + path = "github.com/gethinode/hinode" |
