base.html 2.0 KB
Newer Older
C
chomik 已提交
1
<!doctype html>
C
codecalm 已提交
2
{% include layout/banner.html %}
C
codecalm 已提交
3
<html lang="en"{% if page.rtl %} dir="rtl" {% endif %}>
C
chomik 已提交
4
<head>
C
codecalm 已提交
5 6 7
	<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 已提交
8

C
codecalm 已提交
9
	<title>{% if page.title %}{{ page.title }} - {% endif %}{% if layout.title %}{{ layout.title }} - {% endif %}{% if site.title %}{{ site.title }} - {% endif %}{{ site.description }}</title>
C
codecalm 已提交
10 11 12 13

	<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>

	<meta name="msapplication-TileColor" content="{{ site.data.colors.blue }}"/>
C
codecalm 已提交
14
	<meta name="theme-color" content="{{ site.data.colors.blue }}"/>
C
chomik 已提交
15

C
codecalm 已提交
16 17 18 19 20 21
	<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"/>
	<meta name="robots" content="noindex,nofollow,noarchive"/>
C
chomik 已提交
22

C
codecalm 已提交
23 24
	<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 已提交
25 26


C
codecalm 已提交
27 28 29 30 31 32
	{% if page.description %}
		<meta name="description" content="{{ page.description | escape }}"/>
	{% endif %}

	{% include layout/og.html show=layout.og-component %}
	{% include layout/css.html %}
C
codecalm 已提交
33 34 35 36 37 38

	<style>
		body {
			display: none;
		}
	</style>
C
chomik 已提交
39
</head>
C
codecalm 已提交
40 41 42

{% assign dark-theme = page.dark-theme | default: site.dark-theme %}
<body class="antialiased{% if dark-theme %} theme-dark{% endif %}{% if layout.body-class %} {{ layout.body-class }}{% endif %}{% if page.body-class %} {{ page.body-class }}{% endif %}">
C
chomik 已提交
43

C
codecalm 已提交
44
	{{ content }}
C
chomik 已提交
45

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

C
codecalm 已提交
48
	{% include layout/js.html %}
C
codecalm 已提交
49
	{% include layout/js-capture.html %}
50

C
codecalm 已提交
51
	{% if site.debug and jekyll.environment == 'development' %}
C
codecalm 已提交
52
		{% include layout/debug.html %}
C
codecalm 已提交
53
	{% endif %}
C
chomik 已提交
54

C
codecalm 已提交
55 56

	<script>document.body.style.display = "block"</script>
C
chomik 已提交
57
</body>
C
chomik 已提交
58
</html>