From 0a150463af8015b7936d8dd9189f4cdc84b9e60b Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 1 May 2022 13:09:23 +0200 Subject: Rework doubline core support --- layouts/partials/templates/doublinecore.html | 14 ++++++++++++++ layouts/partials/templates/opengraph.html | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/templates/doublinecore.html (limited to 'layouts/partials/templates') diff --git a/layouts/partials/templates/doublinecore.html b/layouts/partials/templates/doublinecore.html new file mode 100644 index 0000000..674d343 --- /dev/null +++ b/layouts/partials/templates/doublinecore.html @@ -0,0 +1,14 @@ + + + + +{{- with .Params.editor }} + +{{- end }} +{{- with .Params.rights }} + +{{- end }} + +{{- with .Params.date }} + {{ printf "" (.UTC.Format "2006-01-02T15:04:05-07:00") | safeHTML }} +{{- end }} diff --git a/layouts/partials/templates/opengraph.html b/layouts/partials/templates/opengraph.html index 55bcbe3..e3dad0f 100644 --- a/layouts/partials/templates/opengraph.html +++ b/layouts/partials/templates/opengraph.html @@ -1,4 +1,4 @@ - + -- cgit v1.2.3