Introduce flask_arrest, fix dotenv loading (Apache), and new template macro "nl.jinja2"
This commit is contained in:
parent
910e01b691
commit
acf918f656
10 changed files with 80 additions and 118 deletions
|
|
@ -13,8 +13,11 @@
|
|||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
||||
{% endif %}
|
||||
{% block json_info %}{% endblock %}
|
||||
{% block ldjson %}{% endblock %}
|
||||
</head>
|
||||
<body {% if request.cookies.get('dark') == '1' %}class="dark"{% endif %}>
|
||||
<body {% if request.cookies.get('dark') == '1' -%}
|
||||
class="dark"
|
||||
{%- endif %}>
|
||||
<div id="__top"></div>
|
||||
<header class="header">
|
||||
<span class="header-app-name"><a href="/">{{ app_name }}</a></span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue