mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2025-12-15 02:45:09 +00:00
Stick user header to stop
This commit is contained in:
@@ -16,9 +16,11 @@ mixin post(post, headerWithNavigation)
|
||||
img(src="/static/img/arrow-circled.svg" alt="Previous post." style="transform: rotate(180deg)").icon
|
||||
button.navigate-posts.next
|
||||
img(src="/static/img/arrow-circled.svg" alt="Next post.").icon
|
||||
if post.getCaption()
|
||||
p.structured-text.description
|
||||
+display_structured(post.getStructuredCaption())
|
||||
div.relative-box
|
||||
div.scrolling-box
|
||||
if post.getCaption()
|
||||
p.structured-text.description
|
||||
+display_structured(post.getStructuredCaption())
|
||||
section.images-gallery
|
||||
for entry in post.children
|
||||
if entry.isVideo()
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
//- Needs title, post
|
||||
|
||||
include includes/post
|
||||
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
title
|
||||
if post.getCaptionIntroduction()
|
||||
=post.getCaptionIntroduction()
|
||||
else
|
||||
=`Post from @${post.getBasicOwner().username}`
|
||||
=` | Bibliogram`
|
||||
title= title
|
||||
include includes/head
|
||||
script(type="module" src="/static/js/post_overlay.js")
|
||||
body.post-page
|
||||
|
||||
Reference in New Issue
Block a user