feat: add ratings
This commit is contained in:
parent
c37fc2f1a3
commit
614d1e210c
13 changed files with 98 additions and 66 deletions
|
@ -3,7 +3,7 @@
|
|||
<div class="media-grid {% if shape == 'square' %}square{% else %}vertical{% endif %}">
|
||||
{% for item in media limit: count %}
|
||||
{% assign alt = item.alt | strip | escape %}
|
||||
{% assign hasMeta = item.type != 'book' and item.type != 'movie' %}
|
||||
{% assign hasMeta = item.type != 'book' %}
|
||||
<a href="{{ item.url | stripUtm }}" title="{{ alt }}">
|
||||
<div class="item-wrapper{% if hasMeta %} shadow{% endif %}">
|
||||
{% if hasMeta %}
|
||||
|
|
Reference in a new issue