diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2020-04-10 13:34:23 +0100 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2020-04-10 13:34:23 +0100 |
| commit | 78400d587ea5367d3424333913ff4f94ca3f1908 (patch) | |
| tree | 2cf5f5ff8069740b0b7dd00853a4ea8c13d6e05c /src/main/resources/templates/postDetail.ftlh | |
| parent | d5a608143ad2250d8b35b9e4a488d39faaf5a021 (diff) | |
| download | reddit-lite-78400d587ea5367d3424333913ff4f94ca3f1908.tar.xz reddit-lite-78400d587ea5367d3424333913ff4f94ca3f1908.zip | |
Reimplement in Kotlin
Diffstat (limited to 'src/main/resources/templates/postDetail.ftlh')
| -rw-r--r-- | src/main/resources/templates/postDetail.ftlh | 19 |
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 |