From 80100b2cc56a41dcc0ae8f94f1db4ddac191eed8 Mon Sep 17 00:00:00 2001 From: Foster Hangdaan Date: Sun, 6 Oct 2024 09:37:08 -0400 Subject: [PATCH] Add email reply button for blog posts --- src/_includes/layouts/post.tsx | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/_includes/layouts/post.tsx b/src/_includes/layouts/post.tsx index 8e99577..c229626 100644 --- a/src/_includes/layouts/post.tsx +++ b/src/_includes/layouts/post.tsx @@ -17,7 +17,7 @@ interface Data { } export default function ( - { children, toc, footnotes, lemmy }: Data & Lume.Data, + { children, toc, footnotes, lemmy, title }: Data & Lume.Data, ) { return ( <> @@ -58,6 +58,21 @@ export default function ( Discuss on Lemmy )} + {title && ( + + email icon + Email reply + + )} {footnotes.length > 0 && (