Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dataCobra/hugo-vitae.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordataCobra <datacobra@thinkbot.de>2021-03-06 16:26:25 +0300
committerdataCobra <datacobra@thinkbot.de>2021-03-06 16:26:25 +0300
commit8c360c361e001e70b5291232759bd72a417c3221 (patch)
treecce37fd61b8b17a33cb5a3812b2e83d544c081cd /layouts
parentf9d6bf53f677b06a1b4c154cdf0663cb34303446 (diff)
Refactoring of footer.html
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html20
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 }}