chore: refactor media grid to display books at proper sizes
This commit is contained in:
parent
f0e5f2570f
commit
cb70204bb1
3 changed files with 48 additions and 44 deletions
|
@ -15,8 +15,7 @@
|
|||
{% for item in media limit: count %}
|
||||
{% assign alt = item.alt | strip | escape %}
|
||||
<a href="{{ item.url | stripUtm }}" title="{{ alt }}">
|
||||
<div class="item__wrapper">
|
||||
{% if item.subtext %}<div class="item__cover"></div>{% endif %}
|
||||
<div class="item__wrapper{% if item.subtext %} shadow{% endif %}">
|
||||
<div class="item__meta-text">
|
||||
{% if item.title %}
|
||||
<div class="header">{{ item.title }}</div>
|
||||
|
|
Reference in a new issue