diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/header.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/header.html index c45676e..4eb37a3 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/header.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/header.html @@ -1,5 +1,10 @@ {{ $s := partialCached "scratch.html" . }} +{{ $currentDir := "" }} +{{ with .File }} + {{ $currentDir = .Dir }} +{{ end }} + {{ $currentFile := (printf "/%s" .File) }} {{ $scratch := $s.Get $currentFile }} @@ -27,6 +32,7 @@ {{ with $scratch.core }}ADD_{{ index . 0 | upper }}{{ end }} {{ with $scratch.mantle }}ADD_{{ index . 0 | upper }}{{ end }} {{ with $scratch.crust }}ADD_{{ index . 0 | upper }}{{ end }} + {{ if not $scratch.core }}ADD_{{ substr $currentDir 0 -1 | upper }}{{ end }} PUBLISH ? diff --git a/_vendor/modules.txt b/_vendor/modules.txt index 97b5cc6..ec8dd5f 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1 +1 @@ -# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201214021218-2065efa34a44 +# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201214024649-d07052efd534