From 4a968698e45ece04b25f41783298b9b397a191a1 Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Thu, 24 Jan 2019 19:23:35 +0200 Subject: cState is now stable on v3.0 - 2019-01-24 (info: #41) --- layouts/partials/meta.html | 229 +++++++++++++++++++++++++++------------------ 1 file changed, 136 insertions(+), 93 deletions(-) (limited to 'layouts/partials/meta.html') diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index eb4e33a..df6b8d0 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -7,9 +7,12 @@ - {{ if eq .Title .Site.Title }}{{ .Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }} + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} — {{ end }}{{ .Site.Title }}{{ end }} - {{ .Hugo.Generator }} + {{ range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} +