Remove trailing space

alternate-navbar
Maik de Kruif 3 years ago
parent 0dbc13ad78
commit 5668b1012d
Signed by: maik
GPG Key ID: 44A55AD1F0673FA6
  1. 4
      themes/maik-blog/layouts/partials/meta-tags.html

@ -1,6 +1,6 @@
<!-- Default --> <!-- Default -->
<meta name="author" <meta name="author"
content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ with .Site.Author.name }}{{ . }} {{ end }}{{ end }}"> content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ with .Site.Author.name }}{{ . }}{{ end }}{{ end }}">
<meta name="description" <meta name="description"
content="{{ if .IsHome }}{{ .Site.Params.homeSubtitle }}{{ else }}{{ .Params.description | plainify }}{{ end }}" /> content="{{ if .IsHome }}{{ .Site.Params.homeSubtitle }}{{ else }}{{ .Params.description | plainify }}{{ end }}" />
<meta name="keywords" <meta name="keywords"
@ -26,7 +26,7 @@
<!-- Article --> <!-- Article -->
<meta property="article:publisher" content="{{ .Site.BaseURL }}" /> <meta property="article:publisher" content="{{ .Site.BaseURL }}" />
<meta name="article:author" <meta name="article:author"
content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ with .Site.Author.name }}{{ . }} {{ end }}{{ end }}"> content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ with .Site.Author.name }}{{ . }}{{ end }}{{ end }}">
{{- if isset .Params "date" }} {{- if isset .Params "date" }}
<meta property="article:published_time" content="{{ time .Date }}" /> <meta property="article:published_time" content="{{ time .Date }}" />

Loading…
Cancel
Save