1
0
Fork 0
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:
Cadence Fish 2020-03-01 16:43:43 +13:00
parent 9969dd8c7d
commit bf3145b684
No known key found for this signature in database
GPG key ID: 81015DF9AA8607E1
4 changed files with 43 additions and 16 deletions

View file

@ -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()

View file

@ -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