{#- chirp-theme child-cards directive. Auto-generated child page cards should use the same Chirp UI vocabulary as hand-authored cards. -#} {% from "chirpui/layout.html" import grid %} {% set grid_cols = columns if columns == "2" or columns == "3" or columns == "4" else none %} {% call grid(cols=grid_cols, gap=chirpui_gap, cls="chirp-theme-directive-cards chirp-theme-directive-cards--children") %} {% if empty_message %} {{ empty_message | e }} {% else %} {% for item in cards %} {% if item.icon_html or item.title %} {% if item.icon_html %} {{ item.icon_html | safe }} {% end %} {% if item.title %}{{ item.title | e }}{% end %} {% end %} {% if item.description_html %}{{ item.description_html | safe }}{% end %} {% end %} {% end %} {% end %}
{{ empty_message | e }}
{{ item.description_html | safe }}