From cfc3f2c8c067d47505e64b1445c4692316fd4eb6 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Mon, 16 May 2022 00:33:53 +0200 Subject: Introduce description partial --- layouts/partials/head.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index abb4cbe..478410a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,10 +1,5 @@ {{/* */}} - {{- $description := print .Params.Description -}} - {{- if or .IsHome (eq .Params.Description "") (not .Params.Description) -}} - {{ $description = site.Params.Description }} - {{- end -}} - @@ -13,7 +8,7 @@ {{ block "title" . }}{{ if .IsHome }}{{ site.Title }}{{ else }}{{ with .Params.Title }}{{ . }} - {{ end }}{{ site.Title }}{{ end }}{{ end }} - + {{ hugo.Generator }} -- cgit v1.2.3