forked from JetBrains/kotlin-web-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.html
46 lines (40 loc) · 1.85 KB
/
base.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en" class="{% block body_class %}{% endblock %} {% if restyled %}page_restyled_{{ restyled }}{% else %}page-old-styled {% endif %}">
<head>
{% if page and page.title %}
{% set title=page.title + ' - Kotlin Programming Language' %}
{% else %}
{% set title='Kotlin Programming Language' %}
{% endif %}
<title>{% block title %}{{ title }}{% endblock %}</title>
{% include 'inc/head.html' %}
{% block styles %}{% endblock %}
<link rel="stylesheet" href="{{ url_for('static', filename='shared.css')|autoversion }}"/>
<link rel="stylesheet" href="{{ url_for('static', filename='common.css')|autoversion }}"/>
</head>
<body class="page_js_no">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5P98" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% if not headerDropdownTheme %}
{% set headerDropdownTheme = "light" %}
{% endif %}
<div class="global-layout">
{% ktl_component "header" productWebUrl=data.releases.latest.url hasSearch=True dropdownTheme=headerDropdownTheme currentUrl=headerCurrentUrl %}
{% block page_outer_content %}
<div class="g-layout global-content">
{% include 'inc/nav/docs-nav.html' %}
{% block content %}
{{ page.html | safe }}
{% endblock %}
</div>
{% endblock %}
{% block page_after_content %}{% endblock %}
{% ktl_component "footer" %}
</div>
<script>document.body.className = document.body.className.replace('page_js_no', 'page_js_yes')</script>
<script src="{{ url_for('static', filename='shared.js')|autoversion }}"></script>
<script src="{{ url_for('static', filename='common.js')|autoversion }}"></script>
{% block scripts %}{% endblock %}
</body>
</html>