mirror of
https://codeberg.org/teddit/teddit.git
synced 2026-03-05 13:30:33 -05:00
add top bar to the cleaned homepage, and also fix the homepage pug markup (by adding commas after attrs)
This commit is contained in:
@@ -7,14 +7,15 @@ html
|
||||
include includes/meta_description.pug
|
||||
include includes/head.pug
|
||||
body(class="" + (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + " homepage clean")
|
||||
include includes/topbar.pug
|
||||
main
|
||||
h1 teddit
|
||||
form(action="/search" method="GET")
|
||||
input(type="text" name="q")
|
||||
input(type="hidden" name="restrict_sr" value="on")
|
||||
input(type="hidden" name="nsfw" value="on")
|
||||
input(type="hidden" name="sort" value="relevance")
|
||||
input(type="hidden" name="t" value="all")
|
||||
form(action="/search", method="GET")
|
||||
input(type="text", name="q")
|
||||
input(type="hidden", name="restrict_sr", value="on")
|
||||
input(type="hidden", name="nsfw", value="on")
|
||||
input(type="hidden", name="sort", value="relevance")
|
||||
input(type="hidden", name="t", value="all")
|
||||
.sublinks
|
||||
if user_preferences.subbed_subreddits && Array.isArray(user_preferences.subbed_subreddits)
|
||||
a(href="/r/popular") Popular
|
||||
@@ -74,4 +75,4 @@ html
|
||||
a(href="/r/listentothis") listentothis
|
||||
a(href="/r/blog") blog
|
||||
include includes/footer.pug
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user