summaryrefslogtreecommitdiffstats
path: root/templates/resources.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/resources.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/resources.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/resources.html b/templates/resources.html
new file mode 100644
index 0000000..ab8f066
--- /dev/null
+++ b/templates/resources.html
@@ -0,0 +1,25 @@
+<main role="main">
+ <ul class="resource-list">
+ $for(resources)$
+ <li class="panel">
+ $if(thumbnail)$
+ <div class="thumbnail" style="height: 25vh">$thumbnail$</div>
+ $endif$
+ $if(torrent)$
+ $partial("templates/video-player.html")$
+ $endif$
+ <a href="$url$">$title$</a>
+ $if(subtitle)$
+ <div class="thumb-subtitle">
+ $subtitle$
+ </div>
+ $endif$
+ $if(teaser)$
+ <div class="thumb-teaser">
+ $teaser$<a href="$url$">read more...</a>
+ </div>
+ $endif$
+ </li>
+ $endfor$
+ </ul>
+</main> \ No newline at end of file