diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-12 23:51:05 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-12 23:51:05 +0200 |
| commit | cad2f67c2f98dd6fe15c402de1bf6c1801bd30dc (patch) | |
| tree | 36a0220bc99c7e738cca917aa0437ce4ba4a62b2 /layouts/partials/head.html | |
| parent | 4217561a5e8b8a0598a9ce22aba20d6d2721b943 (diff) | |
| download | gohugo-theme-ed-cad2f67c2f98dd6fe15c402de1bf6c1801bd30dc.tar.gz | |
Improve formating of generated code
Diffstat (limited to 'layouts/partials/head.html')
| -rw-r--r-- | layouts/partials/head.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ee88371..934ccc9 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -23,18 +23,18 @@ {{- range .AllTranslations -}} <link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}"> - {{ end -}} + {{- end }} <meta name="theme-color" content="#ffffff"> - {{ block "custom-head" . }}{{ partial "custom-head.html" . }}{{ end }} - {{ block "custom-scripts" . }}{{ partial "custom-scripts.html" . }}{{ end }} + {{- block "custom-head" . }}{{ partial "custom-head.html" . }}{{ end }} + {{- block "custom-scripts" . }}{{ partial "custom-scripts.html" . }}{{ end }} {{- /* Misc */}} - {{ template "partials/templates/opengraph.html" . }} - {{ template "partials/templates/twitter_cards.html" . }} - {{ template "partials/templates/schema_json.html" . }} + {{- template "partials/templates/opengraph.html" . }} + {{- template "partials/templates/twitter_cards.html" . }} + {{- template "partials/templates/schema_json.html" . }} {{- /* SEO */}} - {{ partial "partials/seo/ga.html" . }} + {{- partial "partials/seo/ga.html" . }} </head> |
