{% import "forms.html" as forms %} {% import "utils.html" as utils %} {% macro show_blog_entry(entry_item) %} {% set summary = entry_item.meta['summary'] %}

{{ summary }}

{% if user.may.write(entry_item.fqname) %}
{{ _("Modify") }}
{% endif %}
{% set publication_time = entry_item.meta['ptime'] or entry_item.meta['mtime'] %} {% if publication_time %} {{ _("Published on") }} {{ publication_time|time_datetime }} {{ _("by") }} {{ utils.editor_info(entry_item.meta) }} {% endif %}
{{ entry_item.content._render_data()|safe }} {# rendered blog entry content #}
{% set tags = entry_item.meta['tags']|sort %} {% if tags %} {# display blog entry's tags as a list if it is not empty #} {% endif %} {# TODO: If entry has no name then subitem cannot be defined #}
{% set discussion_item_name = '{0}/{1}'.format(entry_item.name, cfg.supplementation_item_names[0]) %} {{ _("Discussion page") }}


{% endmacro %} {% macro widget_supertags(blog_name, supertags) %}
{{ _("Categories") }}
{% endmacro %} {% macro header_search(blog_name, form) %} {{ gen.form.open(form, id='moin-searchform', method='get', action=url_for('frontend.search')) }} {{ forms.render(form['q']) }} {{ forms.render_submit(form, id='moin-search-submit') }} {{ forms.render_errors(form) }}
{{ _("only this blog") }} {{ gen.form.close() }} {% endmacro %}