From e53cb90a2b9c0ca24b86f66dea1c140d8e8dee09 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Fri, 13 May 2022 09:48:09 +0200 Subject: Drop Dublin Core support --- layouts/partials/head.html | 3 +-- layouts/partials/templates/doublinecore.html | 14 -------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 layouts/partials/templates/doublinecore.html (limited to 'layouts/partials') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d030521..da95aa5 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,5 +1,5 @@ {{/* */}} - + {{- $description := print .Params.Description -}} {{- if or .IsHome (eq .Params.Description "") (not .Params.Description) -}} {{ $description = site.Params.Description }} @@ -36,6 +36,5 @@ {{- partial "custom-head.html" . -}} {{- /* Misc */}} - {{ template "partials/templates/doublinecore.html" . }} {{ template "partials/templates/opengraph.html" . }} diff --git a/layouts/partials/templates/doublinecore.html b/layouts/partials/templates/doublinecore.html deleted file mode 100644 index 04e8ae6..0000000 --- a/layouts/partials/templates/doublinecore.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - -{{- with .Params.editor }} - -{{- end }} -{{- with .Params.rights }} - -{{- end }} - -{{- with .Params.date }} - {{ printf "" (.UTC.Format "2006-01-02T15:04:05-07:00") | safeHTML }} -{{- end -}} -- cgit v1.2.3