diff options
author | bimmer44 <david@rooikat.com> | 2019-01-28 19:25:41 +0300 |
---|---|---|
committer | bimmer44 <david@rooikat.com> | 2019-01-28 19:25:41 +0300 |
commit | 0f6662cf3cc62efae7d618346fd45efc253ef590 (patch) | |
tree | 911b1ddc6bbb162cd17d82a4498a0aca3efb7fe3 /layouts | |
parent | c638c3b0f753eb7232eba95aab68216c45fddfa8 (diff) |
Added support for a mailto: link in the sidebar.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/sidebar-content.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/sidebar-content.html b/layouts/partials/sidebar-content.html index e19ca2a..a76501d 100644 --- a/layouts/partials/sidebar-content.html +++ b/layouts/partials/sidebar-content.html @@ -25,6 +25,12 @@ </ul> </div> + {{ if .Site.Params.contact_email }} + <div class="sidebar-contact"> + » <a href="mailto:{{ .Site.Params.contact_email }}">Email Us</a> + </div> + {{ end }} + <p class="copyright">{{ with .Site.Params.copyright }}{{ . }}{{ else }}© {{ now.Format "2006" }}. All rights reserved. {{end}}</p> <p class="attr">Powered by <a href="http://gohugo.io">Hugo</a> & <a href="https://github.com/ExchangeRate-API/strange-case">Strange Case</a> (inspired by <a href="https://github.com/poole/hyde">Hyde</a>).</p> |