mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-02 02:41:34 +00:00
Stick user header to stop
This commit is contained in:
parent
9969dd8c7d
commit
bf3145b684
4 changed files with 43 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue