diff options
author | Daniel Saunders <10623666+funkydan2@users.noreply.github.com> | 2021-11-13 11:58:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-13 11:58:06 +0300 |
commit | 33dbd40d2b548364940cf932785dbccfca5483d5 (patch) | |
tree | bde4d152dff54f89309b6fa98e4358fc135a443f | |
parent | f67adba6e8368d39e47c3290bc55b21a31e583cc (diff) | |
parent | 7af8ebc4f1aa68191913e6eeda59df906bef1ef7 (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.html | 2 |
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> |