diff options
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/comments.pug | 4 | ||||
-rw-r--r-- | src/views/index.pug | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/views/comments.pug b/src/views/comments.pug index d9c96e9..9210d96 100644 --- a/src/views/comments.pug +++ b/src/views/comments.pug | |||
@@ -22,8 +22,8 @@ html | |||
22 | main#content | 22 | main#content |
23 | +header() | 23 | +header() |
24 | div.hero | 24 | div.hero |
25 | h3 | 25 | h3.sub-title |
26 | a(href=`/r/${post.subreddit}`) r/#{post.subreddit} | 26 | a(href=`/r/${post.subreddit}`) ← r/#{post.subreddit} |
27 | 27 | ||
28 | h2 #{post.title} | 28 | h2 #{post.title} |
29 | 29 | ||
diff --git a/src/views/index.pug b/src/views/index.pug index f506c09..5367b41 100644 --- a/src/views/index.pug +++ b/src/views/index.pug | |||
@@ -9,7 +9,9 @@ html | |||
9 | meta(name="viewport" content="width=device-width, initial-scale=1.0") | 9 | meta(name="viewport" content="width=device-width, initial-scale=1.0") |
10 | meta(charset='UTF-8') | 10 | meta(charset='UTF-8') |
11 | title reddit | 11 | title reddit |
12 | link(rel='stylesheet', href='/styles.css') | 12 | link(rel="stylesheet", href="/styles.css") |
13 | link(rel="preconnect" href="https://rsms.me/") | ||
14 | link(rel="stylesheet" href="https://rsms.me/inter/inter.css") | ||
13 | script(src="https://cdn.dashjs.org/latest/dash.all.min.js") | 15 | script(src="https://cdn.dashjs.org/latest/dash.all.min.js") |
14 | 16 | ||
15 | +subMgmt() | 17 | +subMgmt() |
@@ -71,4 +73,4 @@ html | |||
71 | div.footer | 73 | div.footer |
72 | div.footer-item | 74 | div.footer-item |
73 | - var newQuery = {...query, after: posts.after} | 75 | - var newQuery = {...query, after: posts.after} |
74 | a(href=`/r/${subreddit}?${encodeQueryParams(newQuery)}`) next ��� | 76 | a(href=`/r/${subreddit}?${encodeQueryParams(newQuery)}`) next ��� |