diff options
| author | Volpeon <git@volpeon.ink> | 2022-06-12 13:18:46 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2022-06-12 13:18:46 +0200 |
| commit | 68dc5757b3a395ba89dfcc81103a5fbd31f03b2c (patch) | |
| tree | 1810595c1811cb50fe9a0f6116bf64f29e289d7d /templates/partials/small_gallery_card.html | |
| parent | Fixed list, updated fonts, fixed source wrapping (diff) | |
| download | volpeon.ink-68dc5757b3a395ba89dfcc81103a5fbd31f03b2c.tar.gz volpeon.ink-68dc5757b3a395ba89dfcc81103a5fbd31f03b2c.tar.bz2 volpeon.ink-68dc5757b3a395ba89dfcc81103a5fbd31f03b2c.zip | |
Better list layouts, added 'random' link for Fediring
Diffstat (limited to 'templates/partials/small_gallery_card.html')
| -rw-r--r-- | templates/partials/small_gallery_card.html | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/templates/partials/small_gallery_card.html b/templates/partials/small_gallery_card.html deleted file mode 100644 index 921d612..0000000 --- a/templates/partials/small_gallery_card.html +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | $if(it.url)$ | ||
| 2 | $if(it.thumbnail)$ | ||
| 3 | <a href="$it.url.rel$" class="l-card-list__card c-card"> | ||
| 4 | <div class="c-card__row l-media l-media--flush"> | ||
| 5 | <div class="c-card__thumbnail"> | ||
| 6 | <img | ||
| 7 | class="c-card__thumbnail-img" | ||
| 8 | src="$it.thumbnail.rel$" | ||
| 9 | alt="Preview thumbnail of "$it.title$"" | ||
| 10 | loading="lazy" | ||
| 11 | /> | ||
| 12 | </div> | ||
| 13 | </div> | ||
| 14 | <div class="c-card__row l-media c-card__row--hidden"> | ||
| 15 | <div class="l-media__block l-media__block--main"> | ||
| 16 | $if(it.subtitle)$ | ||
| 17 | <strong class="u-d-block u-elp">$it.title$</strong> | ||
| 18 | <small class="u-d-block u-elp">$it.subtitle$</small> | ||
| 19 | $elseif(it.category)$ | ||
| 20 | <small class="u-d-block u-elp">$it.category$</small> | ||
| 21 | <strong class="u-d-block u-elp">$it.title$</strong> | ||
| 22 | $elseif(it.date)$ | ||
| 23 | <time datetime="$it.date.yyyy_mm_dd$"> | ||
| 24 | <small class="u-d-none@sm-hi"> | ||
| 25 | $it.date.short$ | ||
| 26 | </small> | ||
| 27 | <small class="u-d-none@sm-lo"> | ||
| 28 | $it.date.long$ | ||
| 29 | </small> | ||
| 30 | </time> | ||
| 31 | <strong class="u-d-block u-elp">$it.title$</strong> | ||
| 32 | $else$ | ||
| 33 | $it.title$ | ||
| 34 | $endif$ | ||
| 35 | </div> | ||
| 36 | </div> | ||
| 37 | </a> | ||
| 38 | $endif$ | ||
| 39 | $endif$ | ||
