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

github.com/funkydan2/hugo-kiera.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Saunders <10623666+funkydan2@users.noreply.github.com>2021-11-13 11:58:06 +0300
committerGitHub <noreply@github.com>2021-11-13 11:58:06 +0300
commit33dbd40d2b548364940cf932785dbccfca5483d5 (patch)
treebde4d152dff54f89309b6fa98e4358fc135a443f
parentf67adba6e8368d39e47c3290bc55b21a31e583cc (diff)
parent7af8ebc4f1aa68191913e6eeda59df906bef1ef7 (diff)
Merge pull request #66 from paulwellnerbou/display-pipe-only-if-copyright-is-set
Only display '|' if there is a copyright text
-rw-r--r--layouts/partials/footer.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 3af140b..89c55af 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,6 +1,6 @@
</main>
<footer>
- <h6>{{ .Site.Copyright | markdownify }} |
+ <h6>{{ if .Site.Copyright }}{{ .Site.Copyright | markdownify }} | {{ end }}
{{ T "rendered" }} <a href="https://gohugo.io" title="Hugo">Hugo</a> |
<a href="{{.Site.BaseURL}}index.xml">{{ T "subscribe" }} </a></h6>
</footer>