mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
minor fixes to theming engine
This commit is contained in:
parent
be4dbfb107
commit
7e9f447c70
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,8 @@
|
|||
{% extends 'base.html' %}
|
||||
{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %}
|
||||
{% extends 'themes/' + theme() + '/base.html' %}
|
||||
{% else %}
|
||||
{% extends "base.html" %}
|
||||
{% endif %} %}
|
||||
{% from 'bootstrap/form.html' import render_form %}
|
||||
|
||||
{% block app_content %}
|
||||
|
|
|
@ -270,7 +270,7 @@
|
|||
<script type="text/javascript" src="{{ url_for('static', filename='js/markdown/downarea.js', changed=getmtime('js/markdown/downarea.js')) }}"></script>
|
||||
{% endif %}
|
||||
{% if theme() and file_exists('app/templates/themes/' + theme() + '/scripts.js') %}
|
||||
<script src="{{ url_for('static', filename='themes/' + theme() + '/scripts.js') }}" />
|
||||
<script src="{{ url_for('static', filename='themes/' + theme() + '/scripts.js') }}"></script>
|
||||
{% endif %}
|
||||
{% block end_scripts %}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue