diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-27 17:08:25 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-27 17:08:25 +0530 |
commit | f0458900f5cac8f0d9dde36bbb986ef89596b976 (patch) | |
tree | 10edd046acbd0ba1a2b0e4096e65f44a5ab8a608 | |
parent | 92e5270060c97325b610d8877ee28200c4588682 (diff) |
not loading home.css when not needed
-rw-r--r-- | layouts/partials/head.html | 3 |
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 }} |