diff --git a/layouts/partials/datestamp.html b/layouts/partials/datestamp.html new file mode 100644 index 0000000..b09082e --- /dev/null +++ b/layouts/partials/datestamp.html @@ -0,0 +1 @@ +{{ .Format "2006-01-02T15:04:05Z07:00" -}} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 18e5863..4defad2 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,46 @@
+ {{ $title := cond .IsHome .Site.Title (printf "%s" .Title | printf "%s%s" (cond (and (eq .Kind "term") (eq .Data.Singular "tag")) "#" "") | printf "%s") }} + + {{ with .Resources.GetMatch "{cover.*,*.jpg,*.png,*.jpeg}" }} + + {{ end }} + {{ with .Params.description }} + + + {{ end }} + + {{ if eq .Kind "page" }} + {{ with .PublishDate }} + + {{ end }} + {{ with .Lastmod }} + + {{ end }} + {{ with .ExpiryDate }} + + {{ end }} + {{ with .Params.tags }} + {{ range . }} + + {{ end }} + {{ end }} + {{ with .Site.Params.AuthorProfile }} + + {{ end }} + {{ end }} + {{ with .Site.Params.Author }} + + {{ end }} + + + {{ with .Site.Params.SiteTwitter }} + + {{ end }} + {{ with .Site.Params.AuthorTwitter }} + + {{ end }} {{ if isset .Site.Params "matomositeid" }} @@ -18,5 +58,5 @@ })(); {{ end }} -
+
{{ range $i, $e := .Params.tags -}}
- {{- if $i -}}, {{ end -}}
- #{{ $e }}
+{{- if $i -}}, {{ end -}}
+#{{ $e }}
{{- end -}}
-