1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-25 20:44:38 +04:00
Files
tabler/pages/_layouts/base.html
T
2020-04-04 14:06:48 +02:00

66 lines
2.1 KiB
HTML

<!doctype html>
{% include layout/banner.html %}
<html lang="en"{% if page.rtl %} dir="rtl" {% endif %}>
<head>
<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"/>
<title>{% if page.title %}{{ page.title }} - {% endif %}{% if layout.title %}{{ layout.title }} - {% endif %}{% if site.title %}{{ site.title }} - {% endif %}{{ site.description }}</title>
{% if jekyll.environment == 'production' %}
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
<meta name="msapplication-TileColor" content="{{ site.data.colors.blue }}"/>
<meta name="theme-color" content="{{ site.data.colors.blue }}"/>
<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"/>
<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"/>
{% if site.preview %}
{% include layout/analytics.html %}
{% endif %}
{% if page.description %}
<meta name="description" content="{{ page.description | escape }}"/>
{% endif %}
{% include layout/og.html show=layout.og-component %}
{% endif %}
{% include layout/css.html %}
<style>
body {
display: none;
}
</style>
</head>
{% 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 %}">
{{ content }}
{% include layout/modals-capture.html %}
{% comment %}
{% include layout/js.html %}
{% include layout/js-capture.html %}
{% if site.debug and jekyll.environment == 'development' %}
{% include layout/debug.html %}
{% endif %}
{% endcomment %}
<script>document.body.style.display = "block"</script>
</body>
</html>