2020-01-18 15:38:14 +00:00
|
|
|
- const numberFormat = new Intl.NumberFormat().format
|
|
|
|
|
|
|
|
doctype html
|
|
|
|
html
|
|
|
|
head
|
|
|
|
meta(charset="utf-8")
|
|
|
|
meta(name="viewport" content="width=device-width, initial-scale=1")
|
2020-01-26 14:56:59 +00:00
|
|
|
title
|
|
|
|
if post.getCaptionIntroduction()
|
|
|
|
=post.getCaptionIntroduction()
|
|
|
|
else
|
|
|
|
=`Post from @${post.getBasicOwner().username}`
|
|
|
|
=` | Bibliogram`
|
2020-01-18 15:38:14 +00:00
|
|
|
link(rel="stylesheet" type="text/css" href="/static/css/main.css")
|
|
|
|
script(src="/static/js/pagination.js" type="module")
|
|
|
|
body.post-page
|
|
|
|
main.post-page-divider
|
|
|
|
section.description-section
|
|
|
|
header.user-header
|
2020-01-26 14:56:59 +00:00
|
|
|
img(src=post.ownerPfpCacheP width=150 height=150 alt="").pfp
|
|
|
|
a.name(href=`/u/${post.getBasicOwner().username}`)= `${post.data.owner.full_name} (@${post.getBasicOwner().username})`
|
|
|
|
if post.getCaption()
|
|
|
|
p.description= post.getCaption()
|
2020-01-18 15:38:14 +00:00
|
|
|
section.images-gallery
|
2020-01-26 14:56:59 +00:00
|
|
|
for image in post.children
|
|
|
|
img(src=image.getDisplayUrlP() alt=image.getAlt() width=image.data.dimensions.width height=image.data.dimensions.height).sized-image
|