From 78400d587ea5367d3424333913ff4f94ca3f1908 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Fri, 10 Apr 2020 13:34:23 +0100 Subject: Reimplement in Kotlin --- src/main/resources/templates/postDetail.ftlh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/main/resources/templates/postDetail.ftlh (limited to 'src/main/resources/templates/postDetail.ftlh') diff --git a/src/main/resources/templates/postDetail.ftlh b/src/main/resources/templates/postDetail.ftlh new file mode 100644 index 0000000..576e6e1 --- /dev/null +++ b/src/main/resources/templates/postDetail.ftlh @@ -0,0 +1,19 @@ +<#include 'lib.ftlh'> + +<@wrapper title="/r/${subreddit}"> + <@header subreddit/> + +
+ <@postSummary postDetail.post/> +
+ + ${(postDetail.selftextHtmlUnescaped?no_esc)!""} + +
<@pluralise postDetail.commentCount, "comment"/>
+
+ <#list postDetail.comments as comment> + <@postComment comment/> + +
+ + \ No newline at end of file -- cgit v1.2.3