mirror of https://github.com/lxndrblz/anatole.git

Cedric
13.36.2022 67474957d7cfd7da342df3c4908b1162effc5e2d
feat: trim the whitespace from the HTML meta tags (#367)


Co-authored-by: cedricbonhomme <cedricbonhomme@users.noreply.github.com>
Co-authored-by: Alexander Bilz <mail@alexbilz.com>
1 files modified
9 ■■■■■ changed files
layouts/partials/head.html 9 ●●●●● patch | view | raw | blame | history
layouts/partials/head.html
@@ -5,11 +5,11 @@
        {{ . }} |
      {{ end }}
      {{ .Site.Params.author }}
      {{- .Site.Params.author -}}
    {{ else }}
      {{ .Site.Params.author }}{{ with .Title }}
      {{- .Site.Params.author -}}{{ with .Title }}
        |
        {{ . }}
@@ -18,6 +18,7 @@
    {{ end }}
  </title>
  <!-- Meta -->
@@ -28,11 +29,11 @@
  <meta
    name="description"
    content="{{ if .Params.description }}
      {{ .Params.description }}
      {{- .Params.description -}}
    {{ else }}
      {{ .Site.Params.description }}
      {{- .Site.Params.description -}}
    {{ end }}"