summaryrefslogtreecommitdiffstats
path: root/templates/post.html
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-07-16 13:12:33 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2024-07-16 13:12:33 +0100
commitfd0ea710395904e1b4cf5f22fd17af13db43ce5f (patch)
treec694efa675d3ad1daab3b1d9cfea737a805f1977 /templates/post.html
parente5e763f1d7d473b22d8c2e7f4a0058ada7832c24 (diff)
downloadinfoculture.pub-fd0ea710395904e1b4cf5f22fd17af13db43ce5f.tar.gz
infoculture.pub-fd0ea710395904e1b4cf5f22fd17af13db43ce5f.tar.bz2
infoculture.pub-fd0ea710395904e1b4cf5f22fd17af13db43ce5f.zip
webtorrent and teaser support
Diffstat (limited to 'templates/post.html')
-rw-r--r--templates/post.html30
1 files changed, 2 insertions, 28 deletions
diff --git a/templates/post.html b/templates/post.html
index 77986ae..ddbd384 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -1,30 +1,4 @@
<main role="main">
- <article>
- $if(thumbnail)$
- <div class="thumbnail" style="height: 30vh;">$thumbnail$</div>
- $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>
- </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>
+ $partial("templates/load-webtorrent.html")$
+ $partial("templates/article.html")$
</main> \ No newline at end of file