moved config to a json, which makes adding more variables easier, but perhaps otherwise adds complexity
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
<meta content="utf-8" http-equiv="encoding">
|
||||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
||||
<link rel=stylesheet href="{{ url_for('static', filename='theme.css') }}">
|
||||
{%- if config.server_name -%}
|
||||
<link rel=stylesheet href="{{ url_for('static', filename='user.css') }}">
|
||||
{%- if config.user_css -%}
|
||||
<link rel=stylesheet href="{{ url_for('static', filename=config.user_css) }}">
|
||||
{%- endif -%}
|
||||
</head>
|
||||
<body>
|
||||
@@ -50,5 +50,6 @@
|
||||
<p class="flash {{ category }}">{{ msg | safe }}</p>
|
||||
{%- endfor -%}
|
||||
{%- block content %}{% endblock -%}
|
||||
<a id="end"></a>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user