summaryrefslogtreecommitdiffstats
path: root/templates/post.html
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-07-18 01:37:00 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2024-07-18 01:37:00 +0100
commit6c6319c3ecfb9606c32b3c6c9b487da33911f8b6 (patch)
treea4acdd5843e8e440d01b1ab2bfa4ba0370d04c5e /templates/post.html
parent43ea12ee41d39f387bf4338b5709fffdb1650f0e (diff)
downloadinfoculture.pub-6c6319c3ecfb9606c32b3c6c9b487da33911f8b6.tar.gz
infoculture.pub-6c6319c3ecfb9606c32b3c6c9b487da33911f8b6.tar.bz2
infoculture.pub-6c6319c3ecfb9606c32b3c6c9b487da33911f8b6.zip
add resources dir
Diffstat (limited to '')
-rw-r--r--templates/post.html37
1 files changed, 35 insertions, 2 deletions
diff --git a/templates/post.html b/templates/post.html
index 5815e91..b9bbbe0 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -2,5 +2,38 @@
$if(torrent)$
$partial("templates/load-webtorrent.html")$
$endif$
- $partial("templates/article.html")$
-</main>
+ <article>
+ $if(thumbnail)$
+ <div class="thumbnail" style="height: 30vh;">$thumbnail$</div>
+ $endif$
+ $if(torrent)$
+ $partial("templates/video-player.html")$
+ $endif$
+ <div class="panel">
+ <section class="header">
+ <div class="title">
+ <h1>$title$</h1>
+ <a href="https://infoculture.pub$url$">permalink</a>
+ <a href="/$path$">raw</a>
+ $if(torrent)$
+ <a href="$torrent$">magnet link</a>
+ $endif$
+ </div>
+ <div class="meta">
+ $if(author)$
+ <h2 class="author">$author$</h2>
+ $endif$
+ <h3 class="date">$date$</h3>
+ $if(tags)$
+ <h3 class="tags">$tags$</h3>
+ $endif$
+ </div>
+ </section>
+ <br>
+ <br>
+ <section>
+ $body$
+ </section>
+ </div>
+ </article>
+</main> \ No newline at end of file