mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26:56 -08:00
theme engine - javascript #19
This commit is contained in:
parent
0594dddcac
commit
2870678819
2 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
||||||
{% if markdown_editor %}
|
{% if markdown_editor %}
|
||||||
<link href="{{ url_for('static', filename='js/markdown/downarea.css') }}" type="text/css" rel="stylesheet" />
|
<link href="{{ url_for('static', filename='js/markdown/downarea.css') }}" type="text/css" rel="stylesheet" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if theme() %}
|
{% if theme() and file_exists('app/templates/themes/' + theme() + '/styles.css') %}
|
||||||
<link href="{{ url_for('static', filename='themes/' + theme() + '/styles.css') }}" type="text/css" rel="stylesheet" />
|
<link href="{{ url_for('static', filename='themes/' + theme() + '/styles.css') }}" type="text/css" rel="stylesheet" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -236,6 +236,9 @@
|
||||||
{% if markdown_editor and not low_bandwidth %}
|
{% if markdown_editor and not low_bandwidth %}
|
||||||
<script type="text/javascript" src="{{ url_for('static', filename='js/markdown/downarea.js') }}"></script>
|
<script type="text/javascript" src="{{ url_for('static', filename='js/markdown/downarea.js') }}"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if theme() and file_exists('app/templates/themes/' + theme() + '/scripts.js') %}
|
||||||
|
<script src="{{ url_for('static', filename='themes/' + theme() + '/scripts.js') }}" />
|
||||||
|
{% endif %}
|
||||||
{% block end_scripts %}
|
{% block end_scripts %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
0
app/templates/themes/high_contrast/scripts.js
Normal file
0
app/templates/themes/high_contrast/scripts.js
Normal file
Loading…
Reference in a new issue