diff options
Diffstat (limited to 'pydis_site/templates/wiki/source.html')
-rw-r--r-- | pydis_site/templates/wiki/source.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pydis_site/templates/wiki/source.html b/pydis_site/templates/wiki/source.html new file mode 100644 index 00000000..a6611233 --- /dev/null +++ b/pydis_site/templates/wiki/source.html @@ -0,0 +1,14 @@ +{% extends "wiki/article.html" %} +{% load wiki_tags %} + +{% block wiki_pagetitle %}Source of "{{ article.current_revision.title }}"{% endblock %} + +{% block wiki_contents_tab %} + {% if article.current_revision.locked %} + <p>This article is currently locked for editing.</p> + {% endif %} + + <pre class="is-fullwidth"> +{{ article.current_revision.content }} + </pre> +{% endblock %} |