mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-09 12:52:32 +01:00
fix an issue when sidebar data is missing
This commit is contained in:
parent
6b34c55109
commit
8336a3d424
@ -117,13 +117,14 @@ html
|
|||||||
label(for="nsfw") include NSFW results
|
label(for="nsfw") include NSFW results
|
||||||
input(type="checkbox", name="nsfw", id="nsfw", checked="checked")
|
input(type="checkbox", name="nsfw", id="nsfw", checked="checked")
|
||||||
input(type="submit", value="search")
|
input(type="submit", value="search")
|
||||||
.content
|
if sidebar_data
|
||||||
p subscribers: #{sidebar_data.subscribers.toLocaleString()}
|
.content
|
||||||
p users here right now: #{sidebar_data.active_user_count.toLocaleString()}
|
p subscribers: #{sidebar_data.subscribers.toLocaleString()}
|
||||||
br
|
p users here right now: #{sidebar_data.active_user_count.toLocaleString()}
|
||||||
.heading
|
br
|
||||||
p.title #{sidebar_data.title}
|
.heading
|
||||||
.short-description
|
p.title #{sidebar_data.title}
|
||||||
!= unescape(sidebar_data.public_description_html)
|
.short-description
|
||||||
.description
|
!= unescape(sidebar_data.public_description_html)
|
||||||
!= unescape(sidebar_data.description_html)
|
.description
|
||||||
|
!= unescape(sidebar_data.description_html)
|
||||||
|
Loading…
Reference in New Issue
Block a user