simplifying theme layout
This commit is contained in:
1 parent
27cf36c390
commit
995e75d3e2
11 files changed
+71
-91
No files matched your search
@@ -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]});
|
||||
|
||||
Reference in new issue
Block a user