diff --git a/run_hugo_server.sh b/run_hugo_server.sh index f458b7d..ca1bde6 100755 --- a/run_hugo_server.sh +++ b/run_hugo_server.sh @@ -1,10 +1,12 @@ #! /usr/bin/sh +HUGO_VERSION=${HUGO_VERSION:=0.54.0} + docker run -it \ -e HUGO_WATCH=true \ -e HUGO_THEME=pure \ -e HUGO_BASEURL=http://localhost:1313/ \ -e HUGO_DESTINATION=/src/public \ - -v ${PWD}:/src \ + -v ${PWD}:/src:Z \ -p 1313:1313 \ - sothr.com/hugo:0.54.0 $@ + sothr.com/hugo:$HUGO_VERSION $@ diff --git a/themes/pure/layouts/_default/baseof.html b/themes/pure/layouts/_default/baseof.html index bae72d1..aa55037 100644 --- a/themes/pure/layouts/_default/baseof.html +++ b/themes/pure/layouts/_default/baseof.html @@ -2,18 +2,20 @@ {{- partial "head.html" . -}}
-