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