From f5d48b12cc760c1af3a3b42c05577d585d34480a Mon Sep 17 00:00:00 2001 From: constantinos Date: Tue, 22 Aug 2023 22:57:26 +0300 Subject: [PATCH] only format Zotero metadata if there is a publication date in the Frontmatter --- .../customizations/jgdr/layouts/partials/head.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/jgdr/layouts/partials/head.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/jgdr/layouts/partials/head.html index 1cad286..97af1e6 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/jgdr/layouts/partials/head.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/jgdr/layouts/partials/head.html @@ -48,6 +48,9 @@ Tags: citation_keywords (semicolon-separated) --> + + +{{ if .Page.Params.publishDate }} {{ if .Params.contributors }} @@ -72,8 +75,6 @@ Tags: citation_keywords (semicolon-separated) {{ $k:=delimit . " ; " }} {{ end }} - - @@ -83,6 +84,11 @@ Tags: citation_keywords (semicolon-separated) + + + + +{{ end }}