summaryrefslogtreecommitdiffstats
path: root/templates/resources.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/resources.html')
-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