aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/wiki/includes/render.html
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-05-16 18:42:50 +0100
committerGravatar GitHub <[email protected]>2021-05-16 18:42:50 +0100
commit8c7c3b137fb6c60818d29ac3d14ebb397357ee0e (patch)
treefec5581d5e27fc860db6424f7c1d6a3a71565693 /pydis_site/templates/wiki/includes/render.html
parentResolve conflicts (diff)
parentMerge pull request #501 from python-discord/update/sir-lancebot-env-vars (diff)
Merge branch 'main' into fix_327
Diffstat (limited to 'pydis_site/templates/wiki/includes/render.html')
-rw-r--r--pydis_site/templates/wiki/includes/render.html28
1 files changed, 0 insertions, 28 deletions
diff --git a/pydis_site/templates/wiki/includes/render.html b/pydis_site/templates/wiki/includes/render.html
deleted file mode 100644
index c0334d98..00000000
--- a/pydis_site/templates/wiki/includes/render.html
+++ /dev/null
@@ -1,28 +0,0 @@
-{% load sekizai_tags %}
-{% load static %}
-
-{% addtoblock "js" %}
- <script type="text/javascript" src="{% static "wiki/js/article.js" %}"></script>
-{% endaddtoblock %}
-
-<div class="wiki-article">
- {{ content|default:"" }}
-</div>
-
-{% for plugin in plugins %}
- {% if plugin.RenderMedia.css %}
- {% addtoblock "css" %}
- {% for media, url in plugin.RenderMedia.css.items %}
- <link rel="stylesheet" href="{% static url %}" />
- {% endfor %}
- {% endaddtoblock %}
- {% endif %}
-
- {% if plugin.RenderMedia.js %}
- {% addtoblock "js" %}
- {% for url in plugin.RenderMedia.js %}
- <script type="text/javascript" src="{% static url %}"></script>
- {% endfor %}
- {% endaddtoblock %}
- {% endif %}
-{% endfor %}