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 # Clean git metadata
rm -rf content/.git content/.gitea rm -rf content/.git content/.gitea
# Build the site # Build the site using dynamic environment variable overrides
hugo --minify --destination public HUGO_PARAMS_ARTICLE_EDITURL="https://git.wompmacho.com/wompmacho/docs-public/src/branch/main" hugo --minify --destination public
# Deploy to Caddy # Deploy to Caddy
mkdir -p /deploy/wiki mkdir -p /deploy/wiki

View File

@@ -1,16 +1,26 @@
# This overrides the framework's default menu for the public site. # This overrides the framework's default menu for the public site.
[[main]] [[main]]
name = "Projects" name = "projects"
pageRef = "/projects" pageRef = "projects"
weight = 10 weight = 10
[[main]] [[main]]
name = "Posts" name = "posts"
pageRef = "/posts" pageRef = "posts"
weight = 20 weight = 20
[[main]] [[main]]
name = "Stream" name = "stream"
pageRef = "/stream" pageRef = "stream"
weight = 30 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