aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorCaio Lente <7017340+clente@users.noreply.github.com>2023-10-17 15:50:58 -0300
committerCaio Lente <7017340+clente@users.noreply.github.com>2023-10-17 15:50:58 -0300
commit26fa3804af6130fca1d3b3e2e8e598c2b89289c9 (patch)
tree538ddff45b5aa4c6c20722d429782f8f767f50c2 /layouts/_default/single.html
parentd796205bf80157a95fe92cb2a4d11b785fd6359f (diff)
parent88edea7e8ab507cb2f48d0a3cb64b6c9fad8409e (diff)
downloadhugo-bearcub-26fa3804af6130fca1d3b3e2e8e598c2b89289c9.tar.gz
hugo-bearcub-26fa3804af6130fca1d3b3e2e8e598c2b89289c9.tar.bz2
Merge remote-tracking branch 'origin/main' into style/herman
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 6c6ee69..aec87f5 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -6,6 +6,7 @@
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
{{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
</time>
+ {{ with .Params.author }}· {{.}}{{ end }}
</i>
</p>
{{ end }}
@@ -17,4 +18,11 @@
<a class="blog-tags" href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
{{ 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 }}