aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/postDetail.ftlh
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/postDetail.ftlh')
-rw-r--r--src/main/resources/templates/postDetail.ftlh19
1 files changed, 19 insertions, 0 deletions
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/>
+
+ <div class="post-summary">
+ <@postSummary postDetail.post/>
+ </div>
+
+ ${(postDetail.selftextHtmlUnescaped?no_esc)!""}
+
+ <div class="comment-heading"><@pluralise postDetail.commentCount, "comment"/></div>
+ <div class="comments">
+ <#list postDetail.comments as comment>
+ <@postComment comment/>
+ </#list>
+ </div>
+
+</@wrapper> \ No newline at end of file