Show D in title when in dev env

This commit is contained in:
Tim 2025-05-18 16:58:37 +02:00
parent 116fed5acc
commit 39f6aaea23

View File

@ -3,7 +3,10 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if title is defined %}{{ title }}{% else %}SNIPS{% endif %}</title> <title>
{% if app.environment == 'dev' %}D{% endif %}
{% if title is defined %}{{ title }}{% else %}SNIPS{% endif %}
</title>
<link rel="shortcut icon" type="image/jpg" href="/snips.png"> <link rel="shortcut icon" type="image/jpg" href="/snips.png">
{% block css %} {% block css %}