- {% if entry.author %} by {{ entry.author }}{% endif %} in {{ macros.feed_title(entry.feed) }}
- {%- set published = entry.published or entry.updated_not_none -%} {{ published | humanize_naturaltime }} {% set next = url_for('.entry', **request.args) %} {% set context = {'feed-url': feed.url, 'entry-id': entry.id} %} {% if entry.read %} {{ macros.simple_button('.form_api', 'mark-as-unread', 'unread', leave_disabled=true, next=next, context=context, title=entry.read_modified or "not modified") }} {% else %} {{ macros.simple_button('.form_api', 'mark-as-read', 'read', leave_disabled=true, next=next, context=context, title=entry.read_modified or "not modified") }} {% endif %} {% if not entry.important %} {{ macros.simple_button('.form_api', 'mark-as-important', 'important', leave_disabled=true, next=next, context=context, title=entry.important_modified or "not modified") }} {% endif %} {% if entry.important is not none %} {{ macros.simple_button('.form_api', 'clear-important', "clear " + ("important" if entry.important else "don't care"), leave_disabled=true, next=next, context=context) }} {% endif %} {% if entry.important is not false %} {{ macros.simple_button('.form_api', 'mark-as-unimportant', "don't care", leave_disabled=true, next=next, context=context, title=entry.important_modified or "not modified") }} {% endif %} {% if entry.added_by == 'user' %} {{ macros.confirm_button('.form_api', 'delete-entry', 'delete', leave_disabled=true, next=url_for('.entries', **request.args), context=context) }} {% endif %}
- update metadata {{ macros.readtime(tags) }} {% for message in get_flashed_messages_by_prefix( ('mark-as-read', feed.url, entry.id), ('mark-as-unread', feed.url, entry.id), ('mark-as-important', feed.url, entry.id), ('clear-important', feed.url, entry.id), ('mark-as-unimportant', feed.url, entry.id), ('delete-entry', feed.url, entry.id), ) %}
- {{ message }} {% endfor %}
{{ content.value }}{%- else -%} {{ content.value | safe }} {%- endif %}
no content
{% endif %} {{ macros.entry_enclosures(entry) }}