aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorCaio Lente <7017340+clente@users.noreply.github.com>2023-10-17 01:10:22 -0300
committerCaio Lente <7017340+clente@users.noreply.github.com>2023-10-17 01:10:22 -0300
commit77893ccf469ace26f2fb32583777f6af3a281e87 (patch)
treeaeb6aaa59cfc3963ec5415d246f4f35c27f36574 /layouts/_default
parentcfb20f68513fda3a72f49c43da6fa84190855d25 (diff)
downloadhugo-bearcub-77893ccf469ace26f2fb32583777f6af3a281e87.tar.gz
hugo-bearcub-77893ccf469ace26f2fb32583777f6af3a281e87.tar.bz2
Move 'reply by email' button to the bottom of every post
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index cd6b095..30de616 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -17,4 +17,11 @@
<a class="blog-tags" href="{{ .Permalink }}">#{{ .LinkTitle }}</a>&nbsp;&nbsp;
{{ end }}
</p>
+{{ with .Site.Social.email }}
+ <p>
+ <a href='mailto:{{ . }}?subject={{ i18n "email-subject" }}"{{ default $.Site.Title $.Page.Title }}"'>
+ {{ i18n "email-reply" }} ↪
+ </a>
+ </p>
+{{ end }}
{{ end }}