From: Duje Mihanović
Date: Wed, 4 Dec 2024 16:07:08 +0000 (+0100)
Subject: Add 'Reply to email' button
X-Git-Url: https://git.dujemihanovic.xyz/?a=commitdiff_plain;ds=inline;p=hugo-skeleton.git
Add 'Reply to email' button
---
diff --git a/layouts/partials/reply.html b/layouts/partials/reply.html
new file mode 100644
index 0000000..6f28ecf
--- /dev/null
+++ b/layouts/partials/reply.html
@@ -0,0 +1 @@
+Reply via email
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index e49cbb0..afb4e5b 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -9,4 +9,5 @@
Last modified on {{ .Lastmod.Format "January 2, 2006" }}
{{ .Content }}
+ {{ partial "reply.html" . }}
{{ end }}