From bf4b52dfa8c243f0d3879ab3f40e7064c5b0d26a Mon Sep 17 00:00:00 2001 From: constantinos Date: Fri, 18 Aug 2023 11:22:24 +0300 Subject: [PATCH] added Head customization, which supports ZOTERO(!) for anything that has `publishDate` !publish! --- .../jgdr/layouts/partials/head.html | 92 ++++++++++++++++--- 1 file changed, 80 insertions(+), 12 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 a9a32ed..533c8f5 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 @@ -1,11 +1,89 @@ - - + + + + + + + + +{{ if .Params.contributors }} + {{ range .Params.contributors }} + {{ $a:=$.GetPage (printf "contributor/%s" . ) }} + + {{ end }} +{{ end }} + + + +{{ with .Page.Params.publishDate }} + {{ $d:= .Format "Jan, 2 2006" }} + +{{ end }} + +{{ with .Page.Params.abstract }} + +{{ end }} + +{{ with .Keywords}} + {{ $k:=delimit . " ; " }} + +{{ end }} + + + + + + + + + + + + {{ if .Description }} @@ -24,17 +102,7 @@ {{ end }} {{ end }} - - -{{ if .PublishDate }} - - - {{ "dev-test: Published: " }} {{.PublishDate | time.Format "Jan 2, 2006" }} - -{{ end }} - - {{ if .Params.authors }} {{ range .Params.authors }} {{ $e := $.GetPage (printf "author/%s" .) }}