summaryrefslogtreecommitdiffstats
path: root/templates/thumbs.html
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-07-11 02:38:39 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2024-07-11 02:38:39 +0100
commit3a1d7848cb3ceb122b573737b4fba8106792ab5d (patch)
tree6fb0101f38ecd8d3e4fcae79dc96a01d24468951 /templates/thumbs.html
downloadinfoculture.pub-3a1d7848cb3ceb122b573737b4fba8106792ab5d.tar.gz
infoculture.pub-3a1d7848cb3ceb122b573737b4fba8106792ab5d.tar.bz2
infoculture.pub-3a1d7848cb3ceb122b573737b4fba8106792ab5d.zip
initial commit
Diffstat (limited to 'templates/thumbs.html')
-rw-r--r--templates/thumbs.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/thumbs.html b/templates/thumbs.html
new file mode 100644
index 0000000..91cfd74
--- /dev/null
+++ b/templates/thumbs.html
@@ -0,0 +1,27 @@
+<div class="thumbs">
+ $for(posts)$
+ <div class="thumb panel">
+ $if(thumbnail)$
+ <div class="thumbnail" style="height: 25vh">$thumbnail$</div>
+ <br>
+ $endif$
+ <div class="thumb-title">
+ <a href="$url$">
+ <h2>$title$</h2>
+ <div style="flex-grow: 1"></div>
+ <h3>
+ $if(author)$
+ <span>$author$ - </span>
+ $endif$
+ <span>$date$</span>
+ </h3>
+ </a>
+ </div>
+ $if(subtitle)$
+ <div class="thumb-subtitle">
+ $subtitle$
+ </div>
+ $endif$
+ </div>
+ $endfor$
+</div> \ No newline at end of file