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

github.com/curttimson/hugo-theme-dopetrope.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/footer/contact.html')
-rw-r--r--layouts/partials/footer/contact.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layouts/partials/footer/contact.html b/layouts/partials/footer/contact.html
new file mode 100644
index 0000000..06bde75
--- /dev/null
+++ b/layouts/partials/footer/contact.html
@@ -0,0 +1,26 @@
+<ul class="contact">
+ {{ if .Site.Data.footer.contactinfo.addresslines }}
+ <li>
+ <h3>Address</h3>
+ <p>
+
+ {{ range $i, $e := .Site.Data.footer.contactinfo.addresslines }}
+ {{ if $i }} <br/> {{ end }} {{ .line }}
+ {{ end }}
+
+ </p>
+ </li>
+ {{ end }}
+ {{ if .Site.Data.footer.contactinfo.email }}
+ <li>
+ <h3>Mail</h3>
+ <p><a href="mailto:{{ .Site.Data.footer.contactinfo.email }}">{{ .Site.Data.footer.contactinfo.email }}</a></p>
+ </li>
+ {{ end }}
+ {{ if .Site.Data.footer.contactinfo.email }}
+ <li>
+ <h3>Phone</h3>
+ <p>{{ .Site.Data.footer.contactinfo.phone }}</p>
+ </li>
+ {{ end }}
+</ul> \ No newline at end of file