Replace `blog_cards.html` with `entry_cards.html`

The former was only used once. And its use would basically just end up
being a copy of the latter anyhow. The `blog_cards.html` is now removed
in favor of the `entry_cards.html` template.
This commit is contained in:
Tibor Leupold 2022-06-20 15:06:41 -07:00
Родитель 225bcc5c01
Коммит 7cf5ab5417
2 изменённых файлов: 1 добавлений и 8 удалений

Просмотреть файл

@ -1,5 +0,0 @@
{% load wagtailcore_tags %}
{% for page in entries %}
{% include "./blog_card.html" %}
{% endfor %}

Просмотреть файл

@ -9,11 +9,9 @@
<div class="related-posts mb-4">
<div class="row">
{% include "./blog_cards.html" with entries=related_posts %}
</div>
{% include "./entry_cards.html" with entries=related_posts %}
</div>
</div>
</div>
{% endif %}
{% endblock %}