Move custom style declaration to baseof

This ensures that custom style takes precedent over theme styles. Useful
when overriding theme styles for, e.g., single page.

Signed-off-by: Marek Pikuła <[email protected]>
This commit is contained in:
Marek Pikuła
2024-06-02 19:41:23 +02:00
parent 4687d53336
commit 07fc9f91ad
2 changed files with 10 additions and 9 deletions
+7 -1
View File
@@ -4,6 +4,12 @@
<head>
{{- partial "head.html" . -}}
{{- block "head" . }} {{- end }}
<!-- Custom Styles -->
{{ if .Site.Params.customCSS }}
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/style.css">
{{ end }}
<title>
{{- block "title" . }} {{- end }}
</title>
@@ -33,4 +39,4 @@
</section>
</body>
</html>
</html>