{% macro link_to(text, endpoint) -%} {{ text }} {%- endmacro %} {% macro render_grid_item(content) %}
{{content.summary|truncate(255)|safe()}}
Published at {{ content.created_at.strftime('%H:%M of %m/%d/%Y') }}
{{content.summary|truncate(255)|safe()}}
Published at {{ content.created_at.strftime('%H:%M of %m/%d/%Y') }}
{{content.summary|truncate(140)|safe()}}
Published at {{ content.created_at.strftime('%H:%M of %m/%d/%Y') }}
{% with main_image=content.get_main_image_url(thumb=False, default=None) %}
{% if main_image %}
{% endif %}
{% endwith %}
{% if not truncate %}
{% if content.body %}
{{ content.body|safe() }}
{% elif content.description %}
{{ content.description|safe() }}
{% else %}
{{ content.summary|safe() }}
{% endif %}
{% else %}
{% if content.body %}
{{ content.body|truncate(truncate)|safe() }}
{% elif content.description %}
{{ content.description|truncate(truncate)|safe() }}
{% else %}
{{ content.summary|truncate(truncate)|safe() }}
{% endif %}
{% endif %}