core: remove html language tag for pages that are translated (#10611) Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Jens L. <jens@goauthentik.io>
31 lines
1.0 KiB
HTML
31 lines
1.0 KiB
HTML
{% load static %}
|
|
{% load i18n %}
|
|
{% load authentik_core %}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
<title>{% block title %}{% trans title|default:brand.branding_title %}{% endblock %}</title>
|
|
<link rel="icon" href="{{ brand.branding_favicon }}">
|
|
<link rel="shortcut icon" href="{{ brand.branding_favicon }}">
|
|
{% block head_before %}
|
|
{% endblock %}
|
|
<link rel="stylesheet" type="text/css" href="{% static 'dist/authentik.css' %}">
|
|
<link rel="stylesheet" type="text/css" href="{% static 'dist/custom.css' %}" data-inject>
|
|
{% versioned_script "dist/poly-%v.js" %}
|
|
{% versioned_script "dist/standalone/loading/index-%v.js" %}
|
|
{% block head %}
|
|
{% endblock %}
|
|
<meta name="sentry-trace" content="{{ sentry_trace }}" />
|
|
</head>
|
|
<body>
|
|
{% block body %}
|
|
{% endblock %}
|
|
{% block scripts %}
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|