{% from "macro-card-head.njk" import cardHeadMacro %} {% from "macro-summary.njk" import summaryMacro %} {% macro entryMacro(item, author, url, content, summaryOnly=false) %}
{{ cardHeadMacro(author, item.published, url) }}
{{ summaryMacro(item, url) }} {% if item.type == 'article' and summaryOnly %} {% elseif content %}
{{ content | safe }}
{% endif %}
{% endmacro %}