Merge pull request 'resources.ToCSS is deprecaed. Use css.Sass' (#135) from fix-ToCSS into main
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #135 Reviewed-by: benjaoming <benjaoming@data.coop>
This commit is contained in:
commit
cf3eb58afe
|
@ -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
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
server:
|
||||
serve:
|
||||
image: floryn90/hugo:ext-alpine
|
||||
command: server
|
||||
volumes:
|
||||
|
|
|
@ -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" }}
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
||||
|
||||
<title>{{ .Title }} | {{ .Site.Title }}</title>
|
||||
|
|
Loading…
Reference in a new issue