From 2e0ef75edf86bd6b350f153b3791e2a453b1e95e Mon Sep 17 00:00:00 2001
From: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
Date: Mon, 20 Jul 2020 20:13:51 +0530
Subject: separate head
---
layouts/partials/header.html | 37 +------------------------------------
1 file changed, 1 insertion(+), 36 deletions(-)
(limited to 'layouts/partials/header.html')
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index d110ffd..938d24c 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -2,42 +2,7 @@
-
-
-
-
- {{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}
-
- {{- if eq .Kind "page" }}
-
-
- {{- else }}
-
-
- {{- end }}
-
- {{ $anoldhope := resources.Get "an-old-hope.min.css" | minify }}
- {{ $style := resources.Get "style.css" | minify }}
- {{ $stylesheet := slice $anoldhope $style | resources.Concat "stylesheet.css" | minify }}
-
-
-
-
-
-
- {{- hugo.Generator }}
-
- {{ range .AlternativeOutputFormats -}}
- {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
- {{ end -}}
-
- {{- if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
- {{- template "_internal/google_analytics_async.html" . }}
- {{- template "_internal/opengraph.html" . }}
- {{- end }}
-
- {{ $settheme := resources.Get "set-theme.js" | minify }}
-
+ {{- partial "head.html" . }}
--
cgit v1.2.3