diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-24 01:22:16 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-24 01:22:16 +0200 |
| commit | e8868989dbfbc030b38e2f9c71b55a905d629a2e (patch) | |
| tree | a9c19715565988f253b2b7f663311d6c101c6bf6 /layouts | |
| parent | ebc0aa6ab1898f0e3fa86337ce9c92fed78e0021 (diff) | |
| download | gohugo-theme-ed-e8868989dbfbc030b38e2f9c71b55a905d629a2e.tar.gz | |
Initial scss support
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/head.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d4b2a82..3d5eb50 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -46,4 +46,9 @@ <meta name="description" content="{{ $description }}"> <meta property="og:description" content="{{ .Site.Params.Description }}"> <meta property="og:type" content="website"> + + <!-- CSS link --> + {{ $sass := resources.Get "sass/style.scss" -}} + {{ $style := $sass | resources.ToCSS | resources.Minify | resources.Fingerprint -}} + <link rel="stylesheet" href="{{ $style.RelPermalink }}"> </head> |
