1
0
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:
Cadence Fish
2020-03-01 16:43:43 +13:00
parent 9969dd8c7d
commit bf3145b684
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