diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 6a1975a..fec0354 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -1,6 +1,9 @@ + {{- $author := .Site.Params.Author -}} + {{- $description := or (.Description) (.Site.Params.Description) -}} + {{- $keywords := or (.Keywords) (.Site.Params.Keywords) -}} - - - \ No newline at end of file + {{ if $author -}} {{- end }} + {{ if $description -}} {{- end }} + {{ if $keywords -}} {{- end }}