simplifying theme layout

This commit is contained in:
evilchili committed 2025-12-25 10:58:59 -08:00
1 parent 27cf36c390
commit 995e75d3e2
11 files changed
+71 -91

No files matched your search

+6 -6
View File
@@ -11,13 +11,13 @@
{% block scripts %}
<!-- for converting markdown to html -->
<script src="{{ url_for('static', filename='editor/purify.min.js' ) }}"></script>
<script src="{{ url_for('static', filename='editor/marked.umd.min.js' ) }}"></script>
<script src="{{ url_for('static', filename='editor/froghat.js' ) }}"></script>
<script src="{{ url_for('static', filename='purify.min.js' ) }}"></script>
<script src="{{ url_for('static', filename='marked.umd.min.js' ) }}"></script>
<script src="{{ url_for('static', filename='froghat.js' ) }}"></script>
{% if user.can_write(page) %}
<script src="{{ url_for('static', filename='editor/turndown.js' ) }}"></script>
<script src="{{ url_for('static', filename='editor/joplin-turndown-plugin-gfm.js' ) }}"></script>
<script src="{{ url_for('static', filename='editor/froghat-editor.js' ) }}"></script>
<script src="{{ url_for('static', filename='turndown.js' ) }}"></script>
<script src="{{ url_for('static', filename='joplin-turndown-plugin-gfm.js' ) }}"></script>
<script src="{{ url_for('static', filename='froghat-editor.js' ) }}"></script>
{% endif %}
<script>
const wiki = new Froghat{% if user.can_write(page) %}Editor{% endif %}({plugins: [MacroPlugin, WidgetPlugin]});