1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2025-12-15 02:45:09 +00:00

Implement caption on right (closes #51)

This commit is contained in:
Cadence Ember
2020-05-20 03:03:21 +12:00
parent 2244c219a4
commit 13339efa9e
4 changed files with 16 additions and 9 deletions

View File

@@ -1,7 +1,9 @@
include ./display_structured
mixin post(post, headerWithNavigation)
.post-page-divider
.post-page-divider(class={
"caption-on-right": settings.caption_side === "right"
})
section.description-section
.user-header
header.user-header-inner

View File

@@ -76,7 +76,7 @@ html
{value: "6", text: "6 columns"}
])
+select("caption_side", "Caption side", true, [
+select("caption_side", "Caption side", false, [
{value: "left", text: "Left (Bibliogram)"},
{value: "right", text: "Right (Instagram)"}
])