{#- Tarjeta: contenedor con título para agrupar contenido. {% from "_componentes/tarjeta.html" import tarjeta %} {% call tarjeta("Datos del cliente", subtitulo="Vigentes al corte") %} ...contenido... {% endcall %} -#} {%- macro tarjeta(titulo, subtitulo=None) -%}

{{ titulo }}

{%- if subtitulo %}

{{ subtitulo }}

{%- endif %}
{{- caller() if caller else "" -}}
{%- endmacro -%}