refactor(base.html): fix indentation to 2 spaces

This commit is contained in:
2026-03-11 14:52:08 +01:00
parent afd3703968
commit afedc3bbc4

View File

@@ -2,63 +2,63 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en" data-theme="{% allauth_ui_theme %}"> <html lang="en" data-theme="{% allauth_ui_theme %}">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title> <title>
{% block title %} {% block title %}
{% if page.seo_title %}{{ page.seo_title }}{% else %}{{ page.title }}{% endif %} {% if page.seo_title %}{{ page.seo_title }}{% else %}{{ page.title }}{% endif %}
{% endblock %} {% endblock %}
{% block title_suffix %} {% block title_suffix %}
{% wagtail_site as current_site %} {% wagtail_site as current_site %}
{% if current_site and current_site.site_name %}- {{ current_site.site_name }}{% endif %} {% if current_site and current_site.site_name %}- {{ current_site.site_name }}{% endif %}
{% endblock %} {% endblock %}
</title> </title>
{% if page.search_description %} {% if page.search_description %}
<meta name="description" content="{{ page.search_description }}" /> <meta name="description" content="{{ page.search_description }}" />
{% endif %} {% endif %}
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
{# Force all links in the live preview panel to be opened in a new tab #} {# Force all links in the live preview panel to be opened in a new tab #}
{% if request.in_preview_panel %} {% if request.in_preview_panel %}
<base target="_blank"> <base target="_blank">
{% endif %} {% endif %}
{# Global stylesheets #} {# Global stylesheets #}
<link rel="stylesheet" type="text/css" href="{% static 'css/kursy.css' %}"> <link rel="stylesheet" type="text/css" href="{% static 'css/kursy.css' %}">
<link rel="stylesheet" href="{% static 'allauth_ui/output.css' %}"> <link rel="stylesheet" href="{% static 'allauth_ui/output.css' %}">
{# Flaticon icons #} {# Flaticon icons #}
<link rel='stylesheet' href='https://cdn-uicons.flaticon.com/4.0.0/uicons-bold-rounded/css/uicons-bold-rounded.css'> <link rel='stylesheet' href='https://cdn-uicons.flaticon.com/4.0.0/uicons-bold-rounded/css/uicons-bold-rounded.css'>
{% tailwind_css %} {% tailwind_css %}
{% block extra_css %} {% block extra_css %}
{# Override this in templates to add extra stylesheets #} {# Override this in templates to add extra stylesheets #}
{% endblock %} {% endblock %}
{% block extra_head %} {% block extra_head %}
{% endblock extra_head %} {% endblock extra_head %}
</head> </head>
<body class="flex grow flex-col min-h-screen {% block body_class %}{% endblock %}"> <body class="flex grow flex-col min-h-screen {% block body_class %}{% endblock %}">
{% include "header.html" %} {% include "header.html" %}
{% block body %} {% block body %}
<div class="grow py-8 px-8"> <div class="grow py-8 px-8 {% block content_class %}{% endblock content_class %}">
{% block content %} {% block content %}
{% endblock content %} {% endblock content %}
</div> </div>
{% endblock body %} {% endblock body %}
{# Global javascript #} {# Global javascript #}
<script type="text/javascript" src="{% static 'js/kursy.js' %}"></script> <script type="text/javascript" src="{% static 'js/kursy.js' %}"></script>
{% block extra_body %} {% block extra_body %}
{% endblock extra_body %} {% endblock extra_body %}
{% block extra_js %} {% block extra_js %}
{# Override this in templates to add extra javascript #} {# Override this in templates to add extra javascript #}
{% endblock %} {% endblock %}
{% wagtailuserbar %} {% wagtailuserbar %}
</body> </body>
</html> </html>