summaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-27 17:08:25 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-27 17:08:25 +0530
commitf0458900f5cac8f0d9dde36bbb986ef89596b976 (patch)
tree10edd046acbd0ba1a2b0e4096e65f44a5ab8a608 /layouts/partials/head.html
parent92e5270060c97325b610d8877ee28200c4588682 (diff)
not loading home.css when not needed
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 3dd4906..16ef380 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -13,10 +13,9 @@
<meta property="og:url" content="{{ .Permalink }}">
<link rel="stylesheet" type="text/css" href="/css/styles.css">
-
{{ if eq .Section "blog" }}
<link rel="stylesheet" type="text/css" href="/css/blog.css">
- {{ else }}
+ {{ else if eq .Kind "home" }}
<link rel="stylesheet" type="text/css" href="/css/home.css">
{{ end }}