Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lxndrblz/anatole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexanderdavide <alexeble1998@gmail.com>2022-03-13 18:57:48 +0300
committeralexanderdavide <alexeble1998@gmail.com>2022-03-13 18:57:48 +0300
commit579d7682f2c91dc7d36e5f028ee999e91c3e8265 (patch)
treeb21d7c4be17a5fb1dbe8d95ae12d0842f7f79699 /layouts
parente5fa1fc66992464477117267c42b7ca5dfb6b139 (diff)
feat: set open graph meta tags without requiring series taxonomy
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html10
1 files changed, 1 insertions, 9 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 5fc89cb..3a06708 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -231,15 +231,7 @@
<!-- Open Graph -->
- {{- if isset .Site.Taxonomies "series" }}
- {{- if not (eq (len .Site.Taxonomies.series) 0) -}}
- {{ template "_internal/opengraph.html" . }}
-
-
- {{- end -}}
-
-
- {{- end }}
+ {{ template "_internal/opengraph.html" . }}
<!-- Schema.org-->