show related posts when there are more than one.

This commit is contained in:
2023-01-02 19:44:54 +00:00
parent af7dbe74f3
commit e213f41bb7

View File

@@ -119,7 +119,7 @@
{% endblock %}
</section>
{% if related_posts %}
{% if related_posts and related_posts|length > 1 %}
<section class="mx-auto w-full px-4">
<h2 class="my-4 sm:my-8 text-proprietary dark:text-proprietary-lighter text-xl text-center uppercase tracking-wider">Weiterlesen</h2>
<div class="flex justify-evenly flex-wrap gap-4">