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
All checks were successful
deploy-docs / build-and-deploy (push) Successful in 19s
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user