From e928a38909d83602ffdc9c64b6eeb7aecf8eb443 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 1 May 2022 00:54:32 +0200 Subject: Add author partial --- layouts/partials/head.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a3af22b..e7c14bd 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -5,21 +5,20 @@ {{ $description = .Site.Params.Description }} {{- end -}} - {{- $author := print .Site.Author.name -}} - {{- if .Params.author -}}{{ $author = .Params.author }}{{- end }} - {{ block "title" . }}{{ with .Params.Title }}{{ . }} - {{ end }}{{ .Site.Title }}{{ end }} + {{ block "title" . }}{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Params.Title }}{{ . }} - {{ end }}{{ .Site.Title }}{{ end }}{{ end }} + {{ hugo.Generator }} - + {{- if .Params.editor }}{{ end }} {{- if .Params.date }}{{ end }} -- cgit v1.2.3