{% extends theme('base.html') %} {% from theme('macros/share.html') import share_btn with context %} {% set meta = { 'title': post.name, 'description': post.headline|mdstrip|forceescape, 'image': post.image(external=True), 'keywords': post.tags } %} {% set bundle = 'post' %} {% set body_class = 'post-display' %} {% block title %}{{ post.name }}{% endblock %} {% block breadcrumb %}
  • {{ _('News') }}
  • {{ post.name }}
  • {% endblock %} {% block main_content %}

    {{ post.name }}

    {% if post.image %}
    {{ post.name }} {% if post.credit_to %} {{ _('Photo credit') }} to {% if post.credit_url %}{% endif %} {{ post.credit_to }} {% if post.credit_url %}{% endif %} {% endif %}
    {% endif %}
    {{ post.content|markdown }}
    {% endblock %} {% block content %}
    {% if post.headline %}
    {{ post.headline }}
    {% endif %} {% if post.image %}
    {{ post.name }} {% if post.credit_to %}
    {{ _('Photo credit') }} {% if post.credit_url %}{% endif %} {{ post.credit_to }} {% if post.credit_url %} {% endif %}
    {% endif %}
    {% endif %}

    {{ post.content|markdown }}
    {# button bar #}
    {{ share_btn(post.name) }}
    {% if sysadmin %} {% endif %}
    {# end button bar #}
    {# end left column #} {# Right sidebar #}
    {% if previous_post or next_post %} {% endif %} {% if config['POST_DISCUSSIONS_ENABLED'] %}

    {{ _('Comments about this post.') }}

    {% endif %} {% endblock %}