diff --git a/app/templates/base.html b/app/templates/base.html
index 5498a990..ad4cdf76 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -43,7 +43,7 @@
{% if markdown_editor %}
{% endif %}
- {% if theme() %}
+ {% if theme() and file_exists('app/templates/themes/' + theme() + '/styles.css') %}
{% endif %}
{% endblock %}
@@ -236,6 +236,9 @@
{% if markdown_editor and not low_bandwidth %}
{% endif %}
+ {% if theme() and file_exists('app/templates/themes/' + theme() + '/scripts.js') %}
+
+ {% endif %}
{% block end_scripts %}
{% endblock %}
diff --git a/app/templates/themes/high_contrast/scripts.js b/app/templates/themes/high_contrast/scripts.js
new file mode 100644
index 00000000..e69de29b