{% extends "wiki/base.html" %} {% load sekizai_tags %} {% load static %} {% load wiki_tags %} {# We make these empty so they don't appear in the preview #} {% block site_navbar %}{% endblock %} {% block site_footer %}{% endblock %} {% block wiki_breadcrumbs %}{% endblock %} {% block wiki_body %} {% if revision %}

Previewing Revision

{% include "wiki/includes/revision_info.html" %}
{% endif %} {% if merge %}
Previewing merge between: {% include "wiki/includes/revision_info.html" with revision=merge1 %} and {% include "wiki/includes/revision_info.html" with revision=merge2 %}
{% if merge1.deleted %}
You cannot merge with a deleted revision
{% endif %} {% endif %} {% if revision and revision.deleted %}
This revision has been deleted.

Restoring to this revision will mark the article as deleted.

{% else %}

{{ article.current_revision.title }}

{% wiki_render article content %}
{% for plugin in plugins %} {% if plugin.RenderMedia.css %} {% addtoblock "css" %} {% for media, url in plugin.RenderMedia.css.items %} {% endfor %} {% endaddtoblock %} {% endif %} {% if plugin.RenderMedia.js %} {% addtoblock "js" %} {% for url in plugin.RenderMedia.js %} {% endfor %} {% endaddtoblock %} {% endif %} {% endfor %} {% endif %} {% endblock %}