add feature to expand text posts from subreddit view

This commit is contained in:
teddit
2021-01-19 17:21:31 +01:00
parent d4e009ea28
commit 3ea653de22
5 changed files with 68 additions and 0 deletions

View File

@@ -102,6 +102,14 @@ html
.links
if link.over_18
span.tag.nsfw NSFW
if link.selftext_html
details
summary
.line
.line
.line
.selftext
!= unescape(link.selftext_html)
a(href="" + link.permalink + "", class="comments")
| #{link.num_comments} comments
#search

View File

@@ -128,6 +128,14 @@ html
.links
if link.over_18
span.tag.nsfw NSFW
if link.selftext_html
details
summary
.line
.line
.line
.selftext
!= unescape(link.selftext_html)
a(href="" + link.permalink + "", class="comments")
| #{link.num_comments} comments
if json.info.before || json.info.after