diff options
author | dataCobra <datacobra@thinkbot.de> | 2021-03-06 16:26:25 +0300 |
---|---|---|
committer | dataCobra <datacobra@thinkbot.de> | 2021-03-06 16:26:25 +0300 |
commit | 8c360c361e001e70b5291232759bd72a417c3221 (patch) | |
tree | cce37fd61b8b17a33cb5a3812b2e83d544c081cd /layouts | |
parent | f9d6bf53f677b06a1b4c154cdf0663cb34303446 (diff) |
Refactoring of footer.html
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/footer.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e937040..4144b85 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,13 +1,13 @@ -{{ if .Site.Copyright }} +{{- if .Site.Copyright }} <footer> - {{ with .Site.Copyright }} {{ . | markdownify }} {{ end }} - {{ if not .Site.IsServer }} - {{ template "_internal/google_analytics_async.html" . }} - {{ end }} +{{ with .Site.Copyright }}{{ . | markdownify }}{{ end }} +{{- if not .Site.IsServer }} +{{- template "_internal/google_analytics_async.html" . }} +{{- end }} </footer> -{{ else }} -{{ if not .Site.IsServer }} -{{ template "_internal/google_analytics_async.html" . }} -{{ end }} -{{ end }} +{{- else }} +{{- if not .Site.IsServer }} +{{- template "_internal/google_analytics_async.html" . }} +{{- end }} +{{- end }} |