diff options
author | Akshay <[email protected]> | 2024-11-13 21:30:42 +0000 |
---|---|---|
committer | Akshay" (aider) <[email protected]> | 2024-11-13 21:30:42 +0000 |
commit | c54fefd5227d76898c58bcf11d9ff67f6856d1b9 (patch) | |
tree | f7eff9e8f786b10b5522eff3a3c8494c38b2cfd3 /src | |
parent | eefb370556b62d0775d6325cca0a3f869346f656 (diff) |
fix: Pass parameters to head and header mixins in index.pug
Diffstat (limited to 'src')
-rw-r--r-- | src/views/index.pug | 4 |
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 = [] |
7 | doctype html | 7 | doctype html |
8 | html | 8 | html |
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 |