diff --git a/Dockerfile b/Dockerfile index 0f97fb0..e3e0b59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # builder image FROM alpine:latest -ENV HUGO_VERSION 0.110.0 +ENV HUGO_VERSION 0.134.0 LABEL description="gohugo build" LABEL version="1.0" diff --git a/bin/watch.sh b/bin/watch.sh index 7896865..72fa63b 100755 --- a/bin/watch.sh +++ b/bin/watch.sh @@ -14,4 +14,4 @@ hugo server \ --buildFuture \ --buildDrafts \ --disableFastRender \ - --baseURL http://localhost:1313 + --baseURL http://localhost:1313/ diff --git a/config.toml b/config.toml index 3d2706b..7046f72 100644 --- a/config.toml +++ b/config.toml @@ -3,13 +3,14 @@ languageCode = "en-us" title = "Decred Blog" theme = "decred-blog" -paginate = 5 - copyright = "[DECRED BLOG](https://blog.decred.org/) ALL RIGHTS RESERVED." # disablePathToLower is necessary to maintain backwards compatability with old blog links disablePathToLower = true +[pagination] + pagerSize = 5 + [taxonomies] author = "authors" tag = "tags" diff --git a/themes/decred-blog/layouts/_default/baseof.html b/themes/decred-blog/layouts/_default/baseof.html index af568ac..7a4b894 100644 --- a/themes/decred-blog/layouts/_default/baseof.html +++ b/themes/decred-blog/layouts/_default/baseof.html @@ -9,7 +9,7 @@ {{ block "title" . }}{{ .Site.Title }}{{ end }} {{ "" | safeHTML }} - {{ $style := resources.Get "sass/main.scss" | toCSS }} + {{ $style := resources.Get "sass/main.scss" | css.Sass }} {{ $fonts := resources.Get "css/fonts.css" }}