diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d33f6ac..93fe545 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,11 +1,29 @@ - - {{ .Site.Title }} - {{ .Site.Params.longTitle }} - - - - - {{ range .AlternativeOutputFormats -}} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} - {{ end -}} + + {{- if .IsHome }} + {{- $author := index $.Site.Data.authors .Site.Params.author }} + {{- with .Site.Params.description }} + + {{- end }} + + {{- else if in .Page.URL "/posts/" }} + {{- with .Page.Description }} + + {{- end }} + {{- with .Page.Keywords }} + + {{- end }} + {{- with .Page.Params.Author }} + {{- $author := index $.Site.Data.authors . }} + + {{- end }} + {{- end }} + {{ .Site.Title }} - {{ .Site.Params.longTitle }} + + + + + {{- range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{- end }}