move IMAGE_FORMATS to root.html
parent
7b0d829cbf
commit
964a3d3883
|
@ -40,5 +40,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{macros.image_formats()}}
|
||||
{% endblock %}
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
<body {% block body_attributes %}id="{%block pagetype %}{% endblock %}"{% endblock %}>
|
||||
<input hidden id="gnonce" value="{{g.nonce}}">
|
||||
<input hidden id="gbrowser" value="{{g.browser}}">
|
||||
<input hidden id="IMAGE_FORMATS" value="{{IMAGE_FORMATS}}">
|
||||
<script src="{{'js/top.js' | asset}}"></script>
|
||||
{% block body required %}{% endblock %}
|
||||
{{html_head.stylesheets_lower()}}
|
||||
|
|
|
@ -110,7 +110,6 @@
|
|||
{% endblock %}
|
||||
<script defer src="{{'js/vendor/marked.js' | asset}}"></script>
|
||||
<script defer src="{{'js/markdown.js' | asset}}"></script>
|
||||
{{macros.image_formats()}}
|
||||
<script defer src="{{'js/submit.js' | asset}}"></script>
|
||||
{% include "modals/emoji.html" %}
|
||||
{% include "modals/gif.html" %}
|
||||
|
|
|
@ -47,8 +47,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{{macros.image_formats()}}
|
||||
|
||||
<script defer src="{{'js/submit_hats.js' | asset}}"></script>
|
||||
|
||||
<h2 class="mt-5 mx-4">Pending Approval</h2>
|
||||
|
|
|
@ -42,8 +42,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{{macros.image_formats()}}
|
||||
|
||||
<script defer src="{{'js/submit_marseys.js' | asset}}"></script>
|
||||
|
||||
<h2 class="mt-5 mx-4">Pending Approval</h2>
|
||||
|
|
|
@ -208,7 +208,3 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro image_formats() %}
|
||||
<input hidden id="IMAGE_FORMATS" value="{{IMAGE_FORMATS}}">
|
||||
{% endmacro %}
|
||||
|
|
Loading…
Reference in New Issue