Compare commits

..

No commits in common. "93556b3aceb8ad96f594447b7e726878c97571eb" and "eedd8a412715815fc55333a926e589478a5ec63e" have entirely different histories.

5 changed files with 8 additions and 20 deletions

View File

@ -1,8 +0,0 @@
Hugo has some impossible (for me) to understand "leaf" vs "branch" thing
that is preventing this section from being enumerated
by `.Pages`
in the list layout.
So there's a lot of content here
that is not getting enumerated
until I figure that out.

View File

@ -3,7 +3,6 @@
<ul>
{{range .Pages}}
{{.}}
<li class="{{if .IsNode}}branch{{end}} {{if .Draft}}draft{{end}}">
<a href="{{.Permalink}}">
{{.Title}}

17
run.sh
View File

@ -1,26 +1,23 @@
#! /bin/sh
case "$(hostname)" in
oscar|sweetums)
WE47763)
baseURL=http://localhost:1313/
;;
sweetums)
baseURL=http://sweetums.lan:1313/
;;
penguin)
baseURL=http://penguin.linux.test:1313/
;;
*)
baseURL=http://$(hostname):1313/
baseURL=http://$(hostname --fqdn):1313/
;;
esac
src=$(realpath $(dirname $0))
podman run \
docker run \
--rm -i \
-v $src/content:/src/content:ro \
-v $src/layouts:/src/layouts:ro \
-v $src/config:/src/config:ro \
-v $src/static:/src/static:ro \
-v $src/.git:/src/.git:ro \
-v $(realpath $(dirname $0)):/src \
-u $(id -u):$(id -g) \
-p 1313:1313 \
klakegg/hugo:ext server \