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