From 5f4cb1fd8b84e69092ac56a643b1618006f0442c Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 16 Dec 2021 18:29:18 +0100 Subject: Add thumbnails to cards --- templates/partials/gallery_card.html | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 templates/partials/gallery_card.html (limited to 'templates/partials/gallery_card.html') diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html new file mode 100644 index 0000000..f724e3b --- /dev/null +++ b/templates/partials/gallery_card.html @@ -0,0 +1,47 @@ +$if(it.url)$ + + $if(it.thumbnail)$ +
+
+ +
+
+ $endif$ +
+ $if(it.indicator)$ +
+ $endif$ + $if(it.icon)$ + + + + $endif$ +
+ $if(it.subtitle)$ + $it.title$ + $it.subtitle$ + $elseif(it.category)$ + $it.category$ + $it.title$ + $elseif(it.date)$ + + $it.title$ + $else$ + $it.title$ + $endif$ +
+ $if(it.post_icon)$ + + + + $endif$ +
+
+$endif$ -- cgit v1.2.3-54-g00ecf