{% load wagtailcore_tags wagtailimages_tags shared_perex %}

{% if not title %}{{ self.title }}{% else %}{{ title }}{% endif %}

{% if not description %}{{ self.description }}{% else %}{{ description }}{% endif %}

{% for article in article_data_list %} {% image article.image fill-500x500 as article_image %} {% include 'styleguide2/includes/molecules/boxes/card_box.html' with url=article.url image=article_image date=article.date header=article.title content=article.perex|shorten_perex %} {% endfor %}
{% include "styleguide2/includes/atoms/buttons/round_button.html" with button_text="Více článků" classes="bg-white text-black" url=page.root_page.articles_page.url %}