aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-01-05 23:44:45 +0100
committerOscar Najera <hi@oscarnajera.com>2025-01-05 23:45:00 +0100
commit4b76a856b2841fb197acc982ed168bc52db6ea3d (patch)
treebb92327990d20b262dca7f597453c8ae7bfee16d /layouts/partials/head.html
parentf9e5452a0046e6e47425f0c58d438d0f573fece9 (diff)
downloadhugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.tar.gz
hugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.tar.bz2
hugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.zip
add tailwind and do some replacements
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html15
1 files changed, 14 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index be48acf..659165a 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,7 +1,7 @@
<head>
{{ partial "structured-data.html" . }}
- {{ with resources.Get "scss/style.scss" | css.Sass (dict "includePaths" (slice "node_modules") "targetPath" "css/style.css") | resources.Minify | fingerprint }}
+ {{ with resources.Get "scss/style.scss" | toCSS (dict "includePaths" (slice "node_modules") "targetPath" "css/style.css") | resources.Minify | fingerprint }}
<link
rel="stylesheet"
href="{{ .RelPermalink }}"
@@ -11,6 +11,19 @@
media="screen"
/>
{{ end }}
+
+ {{ with resources.Get "scss/tailwind.css" | resources.Minify | fingerprint }}
+ <link
+ rel="stylesheet"
+ href="{{ .RelPermalink }}"
+ integrity="{{ .Data.Integrity }}"
+ crossorigin="anonymous"
+ type="text/css"
+ media="screen"
+ />
+ {{ end }}
+
+
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"