diff --git a/README.md b/README.md index 3fd74ca..f885392 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Running with Docker In `docker-compose.yml`, we have specified a `serve` target which you can run locally like this: ```bash -docker-compose up serve +docker compose run --rm -u `id -u` --service-ports serve ``` Running without Docker diff --git a/docker-compose.yml b/docker-compose.yml index f0a53f8..1862296 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,5 @@ -version: "3" - services: - server: + serve: image: floryn90/hugo:ext-alpine command: server volumes: diff --git a/themes/datacoop2020/layouts/partials/head.html b/themes/datacoop2020/layouts/partials/head.html index fbad73c..b4a4576 100644 --- a/themes/datacoop2020/layouts/partials/head.html +++ b/themes/datacoop2020/layouts/partials/head.html @@ -20,7 +20,7 @@ {{ template "_internal/twitter_cards.html" . }} {{ template "_internal/opengraph.html" . }} - {{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }} + {{ $style := resources.Get "static/css/style.scss" | css.Sass | resources.Minify | resources.Fingerprint "sha512" }}