diff options
author | NYPD <6412879+NYPD@users.noreply.github.com> | 2022-03-02 04:41:46 +0300 |
---|---|---|
committer | NYPD <6412879+NYPD@users.noreply.github.com> | 2022-03-02 04:41:46 +0300 |
commit | fcee5f4735a94825cfa2769ec253b8a8abd5e159 (patch) | |
tree | 21bb2f51caf7f52b93e1b5742304d4a02efb16a3 | |
parent | 267c2e2a00d9b8d658783e9fe9185664ce0b3551 (diff) |
Remove whitespace using hyphens
-rw-r--r-- | layouts/partials/head.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 4e156c8..42fc5f4 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,7 +1,12 @@ <meta charset="utf-8" /> <title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }}{{ end }}</title> <meta name="description" - content="{{ if .Params.Description }}{{ trim .Params.Description "\n" }}{{else if .Site.Params.Description}}{{ trim .Site.Params.Description "\n" }}{{ end }}"> + content="{{ if .Params.Description }} + {{- .Params.Description -}} + {{else if .Site.Params.Description}} + {{- .Site.Params.Description -}} + {{ end }}" +> {{- with .Site.Author.Name }} <meta name="author" content="{{ . }}" /> {{- end }} |