Make parts of site footer optional
This commit is contained in:
@@ -9,11 +9,17 @@
|
|||||||
<div class="site-footer-widget">
|
<div class="site-footer-widget">
|
||||||
<h5 class="site-footer-widget-title">{{ .title }}</h5>
|
<h5 class="site-footer-widget-title">{{ .title }}</h5>
|
||||||
<p class="site-footer-widget-description">
|
<p class="site-footer-widget-description">
|
||||||
{{ .address | safeHTML }}
|
{{ if .address }}
|
||||||
<br>
|
{{ .address | safeHTML }}
|
||||||
<a href="tel:{{ .phone }}">{{ .phone }}</a>
|
<br>
|
||||||
<br>
|
{{ end }}
|
||||||
<a href="mailto:{{ .email }}">{{ .email }}</a>
|
{{ if .phone }}
|
||||||
|
<a href="tel:{{ .phone }}">{{ .phone }}</a>
|
||||||
|
<br>
|
||||||
|
{{ end }}
|
||||||
|
{{ if .email }}
|
||||||
|
<a href="mailto:{{ .email }}">{{ .email }}</a>
|
||||||
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user