diff options
Diffstat (limited to 'templates/thumbs.html')
-rw-r--r-- | templates/thumbs.html | 27 |
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 |