quetre/views/pug/layout/_header.pug
zyachel f49062d44a fix(search): remove broken search route
can't do searches now unless logged-in

BREAKING CHANGE: any search request will be responded with a 410
2024-04-08 00:33:16 +05:30

18 lines
No EOL
859 B
Text

//-//////////////////////////////////////////////////////
//- MAIN CONTENT
//-//////////////////////////////////////////////////////
header.header(class=`${meta.title === 'About' ? 'header__about': ''}`)
//- BAR INCLUDES BOTH LOGO AND NAV(WHICH'LL BE THERE ONLY ON ABOUT PAGE)
.header__bar
a.header__link.header__logo(href='/') Quetre
//- for nav on about page
block header__nav
//- BUTTON FOR CHANGING THEME
.header__misc
button.button.theme-changer.header__theme(aria-label='Change Theme')
svg.icon.icon__theme.theme-changer__icon.theme-changer__icon--sun: use(href='/misc/sprite.svg#icon-sun')
svg.icon.icon__theme.theme-changer__icon.theme-changer__icon--moon: use(href='/misc/sprite.svg#icon-moon')
//- IF THE PAGE IS ABOUT PAGE, THE BLOCK BELOW WILL GET POPULATED
block header__info