From 1536c43e1a24f8e01d80aba9cf8dff49fd3b5026 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 23 Apr 2022 22:30:52 +0200 Subject: Add Dublin Core metadata for Zotero --- layouts/partials/head.html | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index bb7e793..57784e8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,15 +1,32 @@ - {{ $resource_url := print .Site.BaseURL | safeURL }} + {{- $resource_url := print .Site.BaseURL | safeURL -}} + + {{- $title := print .Title -}} + {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} + + {{- $description := print .Description -}} + {{ if .IsHome }}{{ $description = .Site.Params.Description }}{{ end }} + + {{- $author := print .Site.Author.name -}} + {{- if .Params.author -}}{{ $author = .Params.author }}{{- end -}} + - + - {{ $title := print .Site.Title " | " .Title }} - {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{ $title }} + + + + + + {{ if .Params.editor }}{{ end }} + {{ if .Params.pub_date }}{{ end }} + {{ if .Params.rights }}{{ end }} + -- cgit v1.2.3