Logic for recommended articles

This commit is contained in:
2024-11-24 14:56:54 +01:00
parent fec60900f5
commit f7eb6cc95d
2 changed files with 65 additions and 17 deletions

View File

@ -33,7 +33,20 @@
</article>
<!-- TODO: Next recommendations for reading -->
<!-- TODO: Bact to all posts -->
<!-- TODO: Back to all posts -->
{# footer #}
<footer>
<hr class="border-slate-300 m-5 md:my-8">
<ul class="mx-5">
{% for post in recommended_posts %}
<li>
{% include "components/blog_post_preview.html" %}
<!-- TODO hidden block media -->
<hr class="border-slate-300 my-5 md:my-8 hidden lg:block">
</li>
{% endfor %}
</ul>
</footer>
{% endblock %}