Sunil Mohan Adapa 4a3ca01059
html: Drop trailing slash from void elements
See: https://github.com/validator/validator/wiki/Markup-%C2%BB-Void-elements

Tests:

- Fewer info messages in w3c HTML validator.

- Page loads and works as usual.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2026-03-19 19:12:20 -04:00

42 lines
886 B
HTML

{% extends 'base.html' %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% load firstboot_extras %}
{% load static %}
{# Adapt mainmenu-links during firstboot #}
{% block mainmenu_left %}
{% firstboot_is_completed as firstboot_completed %}
{% if not firstboot_completed %}
<span class="navbar-brand">
<img src="{% static 'theme/img/freedombox-logo-32px.png' %}"
alt="{{ cfg.box_name }}">
<a href="{% url 'index' %}">
{% blocktrans trimmed %}{{ box_name }} Setup{% endblocktrans %}
</a>
</span>
{% else %}
{{ block.super }}
{% endif %}
{% endblock %}
{% block mainmenu_right %}
{% firstboot_is_completed as firstboot_completed %}
{% if not firstboot_completed %}
{% include "firstboot_navbar.html" %}
{% else %}
{{ block.super }}
{% endif %}
{% endblock %}