aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorNicholas Johnson <mail@nicholasjohnson.ch>2024-11-25 00:00:00 +0000
committerNicholas Johnson <mail@nicholasjohnson.ch>2024-11-25 00:00:00 +0000
commitc5d6c0a3a039401604f56b13cd2e97e457526560cdd520ad3c6c17acdc0d878e (patch)
tree495b84874cc2e28d75aca041149a4f33419ee70d3ae58a98a1798c669f0c50e8 /layouts/partials/head.html
parentc4bf46fc8179166754b9a0ea58cd4c4d9b4a1d142c87ff228e2e3e13e6be12bd (diff)
downloadhugo-theme-journal-c5d6c0a3a039401604f56b13cd2e97e457526560cdd520ad3c6c17acdc0d878e.tar.gz
hugo-theme-journal-c5d6c0a3a039401604f56b13cd2e97e457526560cdd520ad3c6c17acdc0d878e.zip
Move /style.css to /static/css/style.css
It's good practice to keep static website assets isolated to their own subdirectory.
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 8132ec8..8250e19 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -13,7 +13,7 @@
<link rel="stylesheet" type="text/css" href="{{ relURL . }}">
{{- end -}}
{{ else }}
- <link rel="stylesheet" type="text/css" href="{{ (resources.Get "style.css").RelPermalink }}">
+ <link rel="stylesheet" type="text/css" href="{{ (resources.Get "static/css/style.css").RelPermalink }}">
{{- end -}}
{{ if (not (fileExists "static/favicon.ico")) }}
<link rel="icon" href="data:,">