selfhostable, read-only reddit client
16
fork

Configure Feed

Select the types of activity you want to include in your feed.

share html head

Akshay d18f2494 429fefe5

+16 -21
+10
src/mixins/head.pug
··· 1 + mixin head() 2 + head 3 + meta(name="viewport" content="width=device-width, initial-scale=1.0") 4 + meta(charset='UTF-8') 5 + title reddit 6 + link(rel="stylesheet", href="/styles.css") 7 + link(rel="preconnect" href="https://rsms.me/") 8 + link(rel="stylesheet" href="https://rsms.me/inter/inter.css") 9 + script(src="https://cdn.dashjs.org/latest/dash.all.min.js") 10 +
+2 -6
src/views/comments.pug
··· 1 1 include ../mixins/comment 2 2 include ../mixins/header 3 + include ../mixins/head 3 4 include ../utils 4 5 5 6 doctype html 6 7 html 7 - head 8 - meta(charset='UTF-8') 9 - meta(name="viewport" content="width=device-width, initial-scale=1.0") 10 - title reddit 11 - link(rel='stylesheet', href='/styles.css') 12 - script(src="https://cdn.dashjs.org/latest/dash.all.min.js") 8 + +head() 13 9 script. 14 10 function toggleDetails(details_id) { 15 11 var detailsElement = document.getElementById(details_id);
+2 -9
src/views/index.pug
··· 1 1 include ../mixins/post 2 2 include ../mixins/sub 3 3 include ../mixins/header 4 + include ../mixins/head 4 5 include ../utils 5 6 - var subs = [] 6 7 doctype html 7 8 html 8 - head 9 - meta(name="viewport" content="width=device-width, initial-scale=1.0") 10 - meta(charset='UTF-8') 11 - title reddit 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") 15 - script(src="https://cdn.dashjs.org/latest/dash.all.min.js") 16 - 9 + +head() 17 10 +subMgmt() 18 11 script. 19 12 function updateButton(sub) {
+2 -6
src/views/subs.pug
··· 1 1 include ../mixins/sub 2 2 include ../mixins/header 3 + include ../mixins/head 3 4 4 5 doctype html 5 6 html 6 - head 7 - meta(charset='UTF-8') 8 - meta(name="viewport" content="width=device-width, initial-scale=1.0") 9 - title reddit 10 - link(rel='stylesheet', href='/styles.css') 11 - 7 + +head() 12 8 +subMgmt() 13 9 script. 14 10 function newSubItem(sub) {