{% set main_blog_section = get_section(path="blog/_index.md", lang=lang) %} {% if not posts is defined %} {% set posts = main_blog_section.pages %} {% endif %} <section class="section" resource="{{ main_blog_section.permalink }}" typeof="schema:Blog"> <meta property="schema:publisher" href="https://teckids.org/" /> <div class="container"> <h2 class="title is-2">{{ title | default(value=trans(key="teckids_blog_posts", lang=lang)) }}</h2> <div class="columns is-multiline is-same-height mt-4"> {% for post in posts | slice(end=count|default(value=6)) %} <div class="column is-one-third"> {% include "blog/card.html" %} </div> {% endfor %} </div> </div> </section>