blob: f7964a3ce2e950e823456f3fde995b493eb291f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
doctype html
html
head
meta(charset='UTF-8')
title reddit
link(rel='stylesheet', href='/styles.css')
body
main#content
div.header
a(href=`/r/${post.subreddit}`)
h4 ← r/#{post.subreddit}
h2 #{post.title}
if post.post_hint == 'image'
img(src=post.url).post-media
else if post.post_hint == 'hosted:video'
video(src=post.url).post-media
p.self-text !{post.selftext}
hr
div.comments-container
each child in comments
include comment
+comment(child, true)
script(src='https://unpkg.com/[email protected]')
|