base.html 2.5 KB
Newer Older
C
chomik 已提交
1
<!doctype html>
C
codecalm 已提交
2
{% include layout/banner.html %}
C
codecalm 已提交
3
{% assign title = page.title | default: layout.title %}
C
codecalm 已提交
4
<html lang="en"{% if page.rtl or site.rtl %} dir="rtl" {% endif %}>
C
chomik 已提交
5
<head>
C
codecalm 已提交
6 7 8 9
	{% if jekyll.environment == 'preview' %}
		{% include layout/analytics.html %}
	{% endif %}

C
codecalm 已提交
10 11 12
	<meta charset="utf-8"/>
	<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
	<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
C
chomik 已提交
13

C
codecalm 已提交
14
	<title>{% if title %}{{ title }} - {% endif %}{% if site.title %}{{ site.title }} - {% endif %}{{ site.description }}</title>
C
codecalm 已提交
15

C
codecalm 已提交
16 17 18
	{% if jekyll.environment == 'preview' %}
		<meta name="msapplication-TileColor" content="{{ site.data.colors.blue }}"/>
		<meta name="theme-color" content="{{ site.data.colors.blue }}"/>
C
chomik 已提交
19

C
codecalm 已提交
20 21 22 23 24
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
		<meta name="apple-mobile-web-app-capable" content="yes"/>
		<meta name="mobile-web-app-capable" content="yes"/>
		<meta name="HandheldFriendly" content="True"/>
		<meta name="MobileOptimized" content="320"/>
C
chomik 已提交
25

C
codecalm 已提交
26 27
		<link rel="icon" href="{{ site.base }}/favicon.ico" type="image/x-icon"/>
		<link rel="shortcut icon" href="{{ site.base }}/favicon.ico" type="image/x-icon"/>
C
chomik 已提交
28

C
codecalm 已提交
29
		<meta name="description" content="{{ page.description | default: 'Tabler comes with tons of well-designed components and features. Start your adventure with Tabler and make your dashboard great again. For free!' | escape }}"/>
C
codecalm 已提交
30

C
codecalm 已提交
31
		{% include layout/og.html %}
C
codecalm 已提交
32 33
	{% endif %}

34 35
	{% include layout/css.html %}

P
Paweł Kuna 已提交
36 37 38
	<style>
		@import url('https://rsms.me/inter/inter.css');
		:root {
39
			--tblr-font-sans-serif: Inter,-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif;
P
Paweł Kuna 已提交
40 41
		}
	</style>
C
chomik 已提交
42
</head>
C
codecalm 已提交
43

C
codecalm 已提交
44
{% assign layout-dark = page.layout-dark | default: site.layout-dark %}
P
Paweł Kuna 已提交
45
<body {% if layout.body-class or page.body-class %} class="{% if layout.body-class %} {{ layout.body-class }}{% endif %}{% if page.body-class %} {{ page.body-class }}{% endif %}"{% endif %}>
46
<script src="{{ site.base }}/dist/js/demo-theme{% if jekyll.environment != 'development' %}.min{% endif %}.js{% if jekyll.environment == 'preview' %}?{{ site.time | date: '%s' }}{% endif %}"></script>
C
chomik 已提交
47

C
codecalm 已提交
48
	{{ content }}
C
chomik 已提交
49

C
codecalm 已提交
50 51
	{% include layout/modals-capture.html %}

C
codecalm 已提交
52 53 54 55
	{% if jekyll.environment == 'preview' %}
		{% include layout/sentry.html %}
	{% endif %}

C
codecalm 已提交
56
	{% include layout/js.html %}
C
codecalm 已提交
57

C
codecalm 已提交
58
	{% if site.debug and jekyll.environment == 'development' %}
C
codecalm 已提交
59
		{% include layout/debug.html %}
C
codecalm 已提交
60
	{% endif %}
C
chomik 已提交
61
</body>
C
chomik 已提交
62
</html>