fix title tag condition

This commit is contained in:
ghost 2024-01-13 04:07:34 +02:00
parent 3d35f47ac9
commit 0d8ff8da5f

View File

@ -45,7 +45,7 @@
{% endmacro %} {% endmacro %}
{% from _self import sort %} {% from _self import sort %}
{% extends 'default/layout.html.twig' %} {% extends 'default/layout.html.twig' %}
{% block head_title_content %}{% if server.name %}{{ server.name }}{% else %}#{{ server.crc32server }}{% endif %} - {{ app.name }}{% endblock %} {% block head_title_content %}{% if server.name %}{{ server.name }}{% elseif server.info.HostName %}{{ server.info.HostName }}{% else %}#{{ server.crc32server }}{% endif %} - {{ app.name }}{% endblock %}
{% block main_content %} {% block main_content %}
<div class="border-default padding-8-px margin-y-8-px"> <div class="border-default padding-8-px margin-y-8-px">
<h2> <h2>