From c54fefd5227d76898c58bcf11d9ff67f6856d1b9 Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 13 Nov 2024 21:30:42 +0000 Subject: fix: Pass parameters to head and header mixins in index.pug --- src/views/index.pug | 4 ++-- 1 file 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 - var subs = [] doctype html html - +head() + +head("home") +subMgmt() script(defer). function updateButton(sub) { @@ -35,7 +35,7 @@ html document.addEventListener('DOMContentLoaded', ()=>updateButton("#{subreddit}")); body main#content - +header() + +header(user) div.hero div.sub-title h1 -- cgit v1.2.3