aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkshay <[email protected]>2024-11-13 21:30:42 +0000
committerAkshay" (aider) <[email protected]>2024-11-13 21:30:42 +0000
commitc54fefd5227d76898c58bcf11d9ff67f6856d1b9 (patch)
treef7eff9e8f786b10b5522eff3a3c8494c38b2cfd3 /src
parenteefb370556b62d0775d6325cca0a3f869346f656 (diff)
fix: Pass parameters to head and header mixins in index.pug
Diffstat (limited to 'src')
-rw-r--r--src/views/index.pug4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/index.pug b/src/views/index.pug
index f7f67b9..0e35a9d 100644
--- a/src/views/index.pug
+++ b/src/views/index.pug
@@ -6,7 +6,7 @@ include ../utils
6- var subs = [] 6- var subs = []
7doctype html 7doctype html
8html 8html
9 +head() 9 +head("home")
10 +subMgmt() 10 +subMgmt()
11 script(defer). 11 script(defer).
12 function updateButton(sub) { 12 function updateButton(sub) {
@@ -35,7 +35,7 @@ html
35 document.addEventListener('DOMContentLoaded', ()=>updateButton("#{subreddit}")); 35 document.addEventListener('DOMContentLoaded', ()=>updateButton("#{subreddit}"));
36 body 36 body
37 main#content 37 main#content
38 +header() 38 +header(user)
39 div.hero 39 div.hero
40 div.sub-title 40 div.sub-title
41 h1 41 h1