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