From 6c6319c3ecfb9606c32b3c6c9b487da33911f8b6 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Thu, 18 Jul 2024 01:37:00 +0100 Subject: add resources dir --- templates/resource.html | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) (limited to 'templates/resource.html') diff --git a/templates/resource.html b/templates/resource.html index b93984a..20b9716 100644 --- a/templates/resource.html +++ b/templates/resource.html @@ -2,5 +2,37 @@ $if(torrent)$ $partial("templates/load-webtorrent.html")$ $endif$ - $partial("templates/article.html")$ - \ No newline at end of file +
+ $if(thumbnail)$ +
$thumbnail$
+ $endif$ + $if(torrent)$ + $partial("templates/video-player.html")$ + $endif$ +
+
+
+

$title$

+ permalink + raw + $if(torrent)$ + magnet link + $endif$ +
+
+ $if(author)$ +

$author$

+ $endif$ + $if(tags)$ +

$tags$

+ $endif$ +
+
+
+
+
+ $body$ +
+
+
+ -- cgit