diff --git a/layouts/partials/seo.html b/layouts/partials/seo.html index 669211e..556d500 100644 --- a/layouts/partials/seo.html +++ b/layouts/partials/seo.html @@ -1,98 +1,132 @@ -{{ $icon := "images/icon.png" | absURL }} - -{{ if .IsPage }}{{ with .Params.tags }}{{ end }}{{ end }} -{{ if .IsHome }}{{ .Site.Title }} -{{ .Site.Title }} - - - -{{ else }}{{ .Title }} | {{ .Site.Title }} -{{ .Title }} | {{ .Site.Title }} - - -{{ end }} - - - - - - - - - - - -{{ with .Params.cover }} - - -{{ else }} - - - -{{ end }} - -{{ if isset .Params "date" }} - -{{ else }} - -{{ end }} - -{{ with.Params.author }} - -{{ end }} -{{ with.Params.category }} -{{ end }} - - - -{{ with .OutputFormats.Get "RSS" }} -{{ end }} - - - - - - - - - - - - - - \ No newline at end of file + {{- else -}} + {{ "" | safeHTML }} + + + {{- end -}} + + {{/* auxiliary info */}} + {{ "" | safeHTML }} + {{- with $icon }} + + {{- else -}} + + {{- end }} + + + + {{ with .OutputFormats.Get "RSS" -}} + + {{- end }} + +