summaryrefslogtreecommitdiffstats
path: root/layouts/partials/styles.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-04-27 00:56:19 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-04-27 00:56:19 +0200
commit7f391e070f69ecf01ade7916c0f83df099b11d79 (patch)
tree0916ac1c288e91806d455d7609656d51748600ae /layouts/partials/styles.html
parentd356641e2b45db0f87f64956ff91240edadf0a97 (diff)
downloadgohugo-theme-ed-7f391e070f69ecf01ade7916c0f83df099b11d79.tar.gz
Reformat a bit layout structure
Diffstat (limited to 'layouts/partials/styles.html')
-rw-r--r--layouts/partials/styles.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/styles.html b/layouts/partials/styles.html
new file mode 100644
index 0000000..5cc2dbd
--- /dev/null
+++ b/layouts/partials/styles.html
@@ -0,0 +1,3 @@
+{{- $sass := resources.Get "sass/style.scss" -}}
+{{- $style := $sass | resources.ToCSS | resources.Minify | resources.Fingerprint -}}
+<link rel="stylesheet" href="{{ $style.RelPermalink }}">