diff --git a/kursy/templates/base.html b/kursy/templates/base.html index 1cf510f..4e5e09d 100644 --- a/kursy/templates/base.html +++ b/kursy/templates/base.html @@ -2,63 +2,63 @@ - - - - {% 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 %} - - {% if page.search_description %} - - {% endif %} - - + + + + {% 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 %} + + {% if page.search_description %} + + {% endif %} + + - {# Force all links in the live preview panel to be opened in a new tab #} - {% if request.in_preview_panel %} - - {% endif %} + {# Force all links in the live preview panel to be opened in a new tab #} + {% if request.in_preview_panel %} + + {% endif %} - {# Global stylesheets #} - - + {# Global stylesheets #} + + - {# Flaticon icons #} - + {# Flaticon icons #} + - {% 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 %} - + {% block extra_head %} + {% endblock extra_head %} + - - {% include "header.html" %} + + {% include "header.html" %} - {% block body %} -
- {% block content %} - {% endblock content %} -
- {% endblock body %} + {% block body %} +
+ {% block content %} + {% endblock content %} +
+ {% endblock body %} - {# Global javascript #} - + {# Global javascript #} + - {% block extra_body %} - {% endblock extra_body %} - {% block extra_js %} - {# Override this in templates to add extra javascript #} - {% endblock %} - {% wagtailuserbar %} - + {% block extra_body %} + {% endblock extra_body %} + {% block extra_js %} + {# Override this in templates to add extra javascript #} + {% endblock %} + {% wagtailuserbar %} +