mirror of https://github.com/itflow-org/itflow
106 lines
4.8 KiB
HTML
106 lines
4.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
{%- block site_meta %}
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
{% if page and page.is_homepage %}
|
|
<meta name="description" content="{{ config['site_description'] }}">{% endif %}
|
|
{% if config.site_author %}
|
|
<meta name="author" content="{{ config.site_author }}">{% endif %}
|
|
{% if page and page.canonical_url %}
|
|
<link rel="canonical" href="{{ page.canonical_url }}">{% endif %}
|
|
<link rel="shortcut icon" href="{{ base_url }}/favicon.ico">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
<link rel="manifest" href="/manifest.json">
|
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#144287">
|
|
<meta name="theme-color" content="#ffffff">
|
|
{%- endblock %}
|
|
|
|
{%- block htmltitle %}
|
|
<title>{% if page and page.title and not page.is_homepage %}{{ page.title }} - {% endif %}{{ config.site_name }}</title>
|
|
{%- endblock %}
|
|
|
|
{%- block styles %}
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha256-Md8eaeo67OiouuXAi8t/Xpd8t2+IaJezATVTWbZqSOw=" crossorigin="anonymous" />
|
|
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css" />
|
|
{%- for path in extra_css %}
|
|
<link href="{{ path }}" rel="stylesheet">
|
|
{%- endfor %}
|
|
{%- endblock %}
|
|
|
|
{%- block libs %}
|
|
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
|
<!--[if lt IE 9]>
|
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
|
<![endif]-->
|
|
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha256-98vAGjEDGN79TjHkYWVD4s87rvWkdWLHPs5MC3FvFX4=" crossorigin="anonymous"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha256-xaF9RpdtRxzwYMWg4ldJoyPWqyDPCRD0Cv7YEEe6Ie8=" crossorigin="anonymous"></script>
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment-with-locales.min.js"></script>
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.21/moment-timezone-with-data-2012-2022.min.js"></script>
|
|
{%- endblock %}
|
|
{%- block scripts %}
|
|
<script>var base_url = '{{ base_url }}';</script>
|
|
{%- for path in extra_javascript %}
|
|
{% if 'search' in path %}
|
|
{% else %}
|
|
<script src="{{ path }}"></script>
|
|
{% endif %}
|
|
{%- endfor %}
|
|
{%- endblock %}
|
|
|
|
{%- block extrahead %} {% endblock %}
|
|
</head>
|
|
|
|
<body{% if page and page.is_homepage %} class="bd-home" {% endif %}>
|
|
|
|
{% include "nav.html" %}
|
|
{% if not page.is_homepage %}
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
{%- block content %}
|
|
<div class="col-12 col-md-3 col-xl-2 bd-sidebar">{% include "toc.html" %}</div>
|
|
<div class="col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 bd-content" role="main">
|
|
<h1 class="bd-title">{{page.title}}</h1>
|
|
{% if page and page.meta.lead %}
|
|
<p class="bd-lead">
|
|
{{page.meta.lead[0]}}
|
|
</p>
|
|
{% endif %}
|
|
{% include "content.html" %}
|
|
</div>
|
|
{%- endblock %}
|
|
</div>
|
|
</div>
|
|
{% else %}
|
|
{% include "content.html" %}
|
|
{% endif %}
|
|
|
|
<script>
|
|
if (top !== self) { top.location.replace(self.location.href); }
|
|
if (location.hostname !== "localhost" && location.hostname !== "127.0.0.1") {
|
|
(function (i, s, o, g, r, a, m) {
|
|
i['GoogleAnalyticsObject'] = r;
|
|
i[r] = i[r] ||
|
|
function () {
|
|
(i[r].q = i[r].q || []).push(arguments);
|
|
}, i[r].l = 1 * new Date();
|
|
a = s.createElement(o),
|
|
m = s.getElementsByTagName(o)[0];
|
|
a.async = 1;
|
|
a.src = g;
|
|
m.parentNode.insertBefore(a, m);
|
|
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
|
|
|
ga('create', 'UA-47462200-1', 'eonasdan.github.io');
|
|
ga('send', 'pageview');
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|