summaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-01 13:09:23 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-01 13:09:23 +0200
commit0a150463af8015b7936d8dd9189f4cdc84b9e60b (patch)
tree07c671b73b2e84aab4d7cd3ff396e6d8de953a03 /layouts/partials/head.html
parent4c3f5c2b8c890be8798d1bf25205d8249fe8faec (diff)
downloadgohugo-theme-ed-0a150463af8015b7936d8dd9189f4cdc84b9e60b.tar.gz
Rework doubline core support
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html12
1 files changed, 2 insertions, 10 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f4303e1..f2ef3ba 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -16,17 +16,9 @@
<meta name="author" content="{{ (partial "author.html" . ) }}">
{{ hugo.Generator }}
- <!-- Dublin Core metadata for Zotero -->
- <meta property="dc:title" content="{{ .Title }}">
- <meta property="dc:creator" content="{{ (partial "author.html" . ) }}">
- <meta property="dc:identifier" content="{{ .Permalink }}">
- {{- if .Params.editor }}<meta property="dc:contributor" content="{{ .Params.editor }}">{{ end }}
- {{- if .Params.date }}<meta property="dc:date" content="{{ .Params.date }}">{{ end }}
- {{- if .Params.rights }}<meta property="dc:rights" content="{{ .Params.rights }}">{{ end }}
- <meta property="dc:source" content="{{ if .Params.source }}{{ .Params.source }}{{ else }}{{ site.Title }}{{ end }}">
-
{{- /* Misc */}}
- {{template "partials/templates/opengraph.html" . }}
+ {{ template "partials/templates/doublinecore.html" . }}
+ {{ template "partials/templates/opengraph.html" . }}
{{ partial "styles.html" . -}}
{{ partial "scripts.html" . -}}