Fix: Restore Blowfish formatting and inject dynamic edit links via environment variables
All checks were successful
deploy-docs / build-and-deploy (push) Successful in 19s

This commit is contained in:
2026-03-25 03:26:54 +00:00
parent 8c57fe074e
commit ac31ddbd14
3 changed files with 19 additions and 15 deletions

View File

@@ -49,8 +49,8 @@ jobs:
# Clean git metadata
rm -rf content/.git content/.gitea
# Build the site
hugo --minify --destination public
# Build the site using dynamic environment variable overrides
HUGO_PARAMS_ARTICLE_EDITURL="https://git.wompmacho.com/wompmacho/docs-public/src/branch/main" hugo --minify --destination public
# Deploy to Caddy
mkdir -p /deploy/wiki

View File

@@ -1,16 +1,26 @@
# This overrides the framework's default menu for the public site.
[[main]]
name = "Projects"
pageRef = "/projects"
name = "projects"
pageRef = "projects"
weight = 10
[[main]]
name = "Posts"
pageRef = "/posts"
name = "posts"
pageRef = "posts"
weight = 20
[[main]]
name = "Stream"
pageRef = "/stream"
name = "stream"
pageRef = "stream"
weight = 30
[[subnavigation]]
name = "lab"
pageRef = "lab_setup"
weight = 10
[[subnavigation]]
name = "resume"
pageRef = "resume"
weight = 20

View File

@@ -1,6 +0,0 @@
# This dynamically overrides the framework's article settings for the public site.
[article]
showEdit = true
showEditURL = true
editURL = "https://git.wompmacho.com/wompmacho/docs-public/src/branch/main"
editAppendPath = true