show related posts when there are more than one.
This commit is contained in:
@@ -119,7 +119,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{% if related_posts %}
|
{% if related_posts and related_posts|length > 1 %}
|
||||||
<section class="mx-auto w-full px-4">
|
<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>
|
<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">
|
<div class="flex justify-evenly flex-wrap gap-4">
|
||||||
|
|||||||
Reference in New Issue
Block a user