{% if not embedded %}{% extends 'base/base.html' %}{% endif %} {% set dates_format='relative' %} {% import 'blog/macros.html' as blog with context %} {% block title -%} {%- if items|length == 1 -%} {{- items[0].title|default(items[0].content, true)|truncate(60, True, '…') + ' - ' + C.APP_NAME -}} {%- else -%} {{- super() -}} {%- endif -%} {%- endblock %} {% block body %}