{% extends "base.html" %} {% block js_media %} {% include "comments/media-js.html" %} {% endblock %} {% block media %} {% include "comments/media-css.html" %} {% endblock %} {% block title_row %} {% endblock %} {% block title_ruler %} {% endblock %} {% block body %}
{{ title }}
{% with authors=post.authors.all() %} {% if authors %} {% endif %} {% endwith %} {% trans time=post.publish_on|date(_("N j, Y, g:i a")) %} posted on {{ time }}{% endtrans %} {% if post.is_editable_by(request.user) %} [{{ _('Edit') }}] {% else %} {% for author in post.authors.all() %} {% if author.user == request.user %} {% for post_org in post.organizations.all() %} {% for org in author.organizations.all() %} {% if org == post_org %} [{{ _('Edit') }}] {% endif %} {% endfor %} {% endfor %} {% endif %} {% endfor %} {% endif %}
{% cache 86400 'post_content' post.id MATH_ENGINE %} {{ post.content|markdown('blog', MATH_ENGINE)|reference|str|safe}} {% endcache %}

{{ post_to_gplus(request, post, '') }} {{ post_to_facebook(request, post, '') }} {{ post_to_twitter(request, SITE_NAME + ':', post, '') }} {% include "comments/list.html" %} {% endblock %} {% block bodyend %} {{ super() }} {% if REQUIRE_JAX %} {% include "mathjax-load.html" %} {% endif %} {% include "comments/math.html" %} {% endblock %}