rolandjesse.de/hugo.toml
2024-10-13 18:05:26 +02:00

174 lines
3.7 KiB
TOML

baseURL = "https://rolandjesse.de/"
languageCode = "de"
defaultContentLanguage = "de"
title = "Roland Jesse"
author = "Roland Jesse"
keywords = "personal homepage"
# Enable global emoji support
enableEmoji = true
# Use toha thema as Hugo module
[[module.imports]]
path = "github.com/hugo-toha/toha/v4"
[[module.mounts]]
source = "static/files"
target = "static/files"
[[module.mounts]]
source = "./node_modules/flag-icon-css/flags"
target = "static/flags"
[[module.mounts]]
source = "./node_modules/@fontsource/mulish/files"
target = "static/files"
[[module.mounts]]
source = "./node_modules/katex/dist/fonts"
target = "static/fonts"
[languages.de]
languageCode = "de"
languageName = "Deutsch"
title = "Roland Jesse"
weight = 1
[languages.en]
languageCode = "en"
languageName = "English"
title = "Roland Jesse"
weight = 2
[languages.es]
languageCode = "es"
languageName = "Español"
title = "Rolando Jesse"
weight = 3
# Allow raw html in markdown file
[markup.goldmark.renderer]
unsafe = true
[markup.tableOfContents]
startLevel = 2
endLevel = 6
ordered = false
# At least HTML and JSON are required for the main HTML content and
# client-side JavaScript search
[outputs]
home = [ "HTML", "RSS", "JSON" ]
# Site parameters
[params]
background = "/images/background.jpg"
# Provide logos for your site. The inverted logo will be used in the initial
# transparent navbar and the main logo will be used in the non-transparent navbar.
[params.logo]
main = "/images/main-logo.png"
inverted = "/images/inverted-logo.png"
favicon = "/images/favicon.png"
# Configure the number of section title visible in the top navbar
[params.topNavbar]
maxVisibleSections = 5
[params.features.theme]
enable = true
# Configure various features of the toha theme
[params.features.theme.services]
light = true
dark = true
default = "system"
[params.features.darkMode]
enabled = true
[params.features.portfolio]
enable = true
[params.features.blog]
enable = false
[params.features.blog.shareButtons]
facebook = false
twitter = false
linkedin = false
reddit = false
whatsapp = false
email = false
# Enable & configure "Notes" features
[params.features.notes]
enable = false
[params.features.comment]
enable = false
[params.features.analytics]
enabled = false
# specify whether you want to show Table of Contents in reading page
[params.features.toc]
enable = false
[params.features.tags]
enable = false
on_card = false
# Specify whether to show flag in the language selector. Default is true.
[params.features.flags]
enable = false
[params.features.embedpdf]
enable = false
[params.features.flowchart]
enable = false
[params.features.math]
enable = false
[params.features.syntaxHighlight]
enable = true
[params.features.syntaxHighlight.services.hljs]
noHighlightRe = "/^no-highlight$/i"
[params.features.readingTime]
enable = false
[params.features.pagination]
maxPostsPerPage = 12
# Provide footer configuration.
[params.footer]
enable = false
# If enabled, you can provide your custom footer template using this option.
# Put your template in "layouts/partials" folder of your repo.
template = "footer.html"
# Show/hide navigation in the footer. Default is "true".
[params.footer.navigation]
enable = true
customMenus = true
# Show/hide "Contact Me" section in the footer. Default is "true".
[params.footer.contactMe]
enable = true
# Show/hide credentials section in the footer. Default is "true".
[params.footer.credentials]
enable = false
# Show/hide newsletter section in the footer. Default is "true".
# Currently, it supports "mailchimp".
[params.footer.newsletter]
enable = false
# Show/hide disclaimer notice in the footer. Default is "false".
[params.footer.disclaimer]
enable = true