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

github.com/JugglerX/hugo-hero-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/sub-footer.html')
-rw-r--r--layouts/partials/sub-footer.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/sub-footer.html b/layouts/partials/sub-footer.html
index 0790d15..a8abf79 100644
--- a/layouts/partials/sub-footer.html
+++ b/layouts/partials/sub-footer.html
@@ -4,11 +4,13 @@
<div class="col-12">
<div class="sub-footer-inner">
<ul>
- {{ with .Site.Data.contact.phone }}
+ {{ if .Site.Data.contact.phone }}
<li><strong>Phone: </strong>{{ .Site.Data.contact.phone }}</li>
{{ end }}
+ {{ if .Site.Data.contact.email }}
<li><strong>Email: </strong><a href="mailto:{{ .Site.Data.contact.email }}">
{{ .Site.Data.contact.email }}</a></li>
+ {{ end }}
</ul>
<ul>
<li class="zerostatic"><a href="https://www.zerostatic.io">www.zerostatic.io</a></li>