Files
hugo-framework/config/_default/hugo.toml
wompmacho 98a0e1eda9 fixing mount points and updating the include
partial

1. Mounted Configuration Directory: Added /srv/configs as a mount point in
      /srv/dev/hugo/wiki/config/_default/hugo.toml. This allows Hugo's readFile and fileExists functions to
      access your Docker Compose and other configuration files within the virtual filesystem.
2. Improved include Partial: Rewrote /srv/dev/hugo/wiki/layouts/partials/include.html with the following
      enhancements:
    * Path Mapping: It now automatically maps absolute paths like /srv/configs/... to the new configs/ mount
         and /srv/docs/private/... to the existing content/private/ mount.
    * Raw Content Support: If the included file is not a Markdown file (e.g., .yaml, .env, .sh), it now
         outputs the raw content instead of attempting to render it as Markdown. This ensures that your Docker
         Compose files are included exactly as they are when wrapped in a code block.
    * Robust Lookups: Added better path variation checking to handle both absolute and relative paths more
         gracefully.
2026-03-28 23:27:12 +00:00

55 lines
1.2 KiB
TOML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -- Site Configuration --
# Refer to the theme docs for more details about each of these parameters.
# https://nunocoracao.github.io/blowfish/docs/getting-started/
theme = ["hugo-admonitions", "blowfish"]
baseURL = "https://wiki.wompmacho.com/"
defaultContentLanguage = "en"
relativeURLs = true
enableRobotsTXT = true
summaryLength = 5
buildDrafts = true
buildFuture = true
enableEmoji = true
# googleAnalytics = "G-XXXXXXXXX"
[taxonomies]
tag = "tags"
category = "categories"
author = "authors"
series = "series"
[sitemap]
changefreq = 'daily'
filename = 'sitemap.xml'
priority = 0.5
[outputs]
home = ["HTML", "RSS", "JSON"]
[frontmatter]
# Hugo will check for 'lastmod' in the file first,
# then the Git commit date, then the 'date' field.
lastmod = ["lastmod", ":git", "date"]
# Required if you want to use the Git commit date automatically
enableGitInfo = true
[markup.tableOfContents]
endLevel = 3
ordered = false
startLevel = 2
[module]
[[module.mounts]]
source = "content"
target = "content"
[[module.mounts]]
source = "/srv/docs/private"
target = "content/private"
[[module.mounts]]
source = "/srv/configs"
target = "configs"