From 8a0a2e1218268d54aa206bb8588f2c63b1889058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Fri, 10 Jan 2025 12:21:49 +0100 Subject: [PATCH 1/2] resources.ToCSS is deprecaed. Use css.Sass I don't know if they are interchangeable or if there are significant changes. Let's find out in CI! --- themes/datacoop2020/layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }} {{ .Title }} | {{ .Site.Title }} From 147345e440185eeda04472f9cba42352d7634962 Mon Sep 17 00:00:00 2001 From: bbb Date: Fri, 10 Jan 2025 12:46:23 +0100 Subject: [PATCH 2/2] Update so it works --- README.md | 2 +- docker-compose.yml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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: