|
1 | 1 | {% load cms_tags sekizai_tags static %} |
2 | | -<html> |
| 2 | +<!DOCTYPE html>{% load cms_tags menu_tags sekizai_tags static i18n %} |
| 3 | +<html lang="{{ LANGUAGE_CODE }}"> |
3 | 4 | <head> |
4 | | - <title>{% page_attribute "page_title" %}</title> |
5 | | - <meta charset="UTF-8" /> |
6 | | - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
7 | | - <link rel="stylesheet" href="{% static 'css/main.css' %}"> |
8 | | - <link href="https://cdn.jsdelivr.net/npm/swiper@12/swiper-bundle.min.css" |
9 | | - rel="stylesheet"> |
10 | | - <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css" |
11 | | - rel="stylesheet"> |
12 | | - {% render_block "css" %} |
| 5 | + <meta charset="utf-8"/> |
| 6 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> |
| 7 | + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/> |
| 8 | + {% block meta %} |
| 9 | + <meta name="description" content="{% page_attribute meta_description %}"/> |
| 10 | + <meta property="og:type" content="website"/> |
| 11 | + <meta property="og:title" content="{% page_attribute "page_title" %}"/> |
| 12 | + <meta property="og:description" content="{% page_attribute meta_description %}"/> |
| 13 | + {% endblock meta %} |
| 14 | + {% block canonical_url %} |
| 15 | + <link rel="canonical" href="{{ request.build_absolute_uri }}"/> |
| 16 | + <meta property="og:url" content="{{ request.build_absolute_uri }}"/> |
| 17 | + {% endblock canonical_url %} |
| 18 | + {% block fb_meta %}{% endblock fb_meta %} |
| 19 | + <title>{% block title %}{% page_attribute "page_title" %}{% endblock %}</title> |
| 20 | + {% block base_css %} |
| 21 | + <link rel="stylesheet" href="{% static 'css/main.css' %}"> |
| 22 | + <link href="https://cdn.jsdelivr.net/npm/swiper@12/swiper-bundle.min.css" |
| 23 | + rel="stylesheet"> |
| 24 | + <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css" |
| 25 | + rel="stylesheet"> |
| 26 | + {% endblock %} |
| 27 | + {% render_block 'css' %} |
| 28 | + {% block page_head %}{% endblock %} |
13 | 29 | </head> |
14 | | - <body> |
| 30 | + <body {% block body_attrs %}{% endblock %}> |
15 | 31 | {% cms_toolbar %} |
| 32 | + {% block navbar %}{% endblock %} |
16 | 33 | {% block content %} |
17 | 34 | {% placeholder "content" %} |
18 | 35 | {% endblock %} |
19 | | - <script src="{% static 'js/counter.js' %}"></script> |
20 | | - <script src="{% static 'js/bootstrap.js' %}"></script> |
21 | | - <script src="{% static 'js/features.js' %}"></script> |
| 36 | + {% block base_js %} |
| 37 | + <script src="{% static 'js/counter.js' %}"></script> |
| 38 | + <script src="{% static 'js/bootstrap.js' %}"></script> |
| 39 | + <script src="{% static 'js/features.js' %}"></script> |
| 40 | + {% endblock base_js %} |
22 | 41 | {% render_block "js" %} |
23 | | - <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script> |
24 | | - <script src="https://cdn.jsdelivr.net/npm/swiper@12/swiper-bundle.min.js"></script> |
25 | | - <script src="{% static 'js/logo_carousel.js' %}"></script> |
26 | | - <script>hljs.highlightAll();</script> |
| 42 | + {% block end_js %} |
| 43 | + <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script> |
| 44 | + <script src="https://cdn.jsdelivr.net/npm/swiper@12/swiper-bundle.min.js"></script> |
| 45 | + <script src="{% static 'js/logo_carousel.js' %}"></script> |
| 46 | + <script>hljs.highlightAll();</script> |
| 47 | + {% endblock end_js %} |
27 | 48 | </body> |
28 | 49 | </html> |
0 commit comments