From b226e1dc8c3a64802becd66be91f7a547931079f Mon Sep 17 00:00:00 2001
From: willstocks <43744514+willstocks@users.noreply.github.com>
Date: Tue, 10 Mar 2020 12:08:33 +0000
Subject: [PATCH] Fix OpenGraph and Twitter meta tags
Title tags could be a little bloated as the subtitle was being appended. This should fall in to the description instead.
Also, if not looking at an individual post, there was no author being defined or site image.
---
layouts/partials/head.html | 76 ++++++++++++++------------------------
1 file changed, 28 insertions(+), 48 deletions(-)
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 166ce7c..b580d6d 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,10 +1,7 @@
-
-
-
+
+
+
@@ -13,72 +10,55 @@
{{ if (ne $.Site.Params.ThemeColor "orange") }}
-
+
{{ end }}
{{ if (fileExists "static/style.css") -}}
-
+
{{- end }}
{{ if isset $.Site.Params "favicon" }}
-
+
{{ else }}
-
+
{{ end }}
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
{{ range .Params.categories }}
-{{ end }}
+
+{{ end }}
{{ if isset .Params "date" }}
-{{ end }}
+
+{{ end }}
{{ with .OutputFormats.Get "RSS" }}
-
+
{{ end }}
{{ with .OutputFormats.Get "json" }}
-
+
{{ end }}