2016-08-07 19:01:56 +03:00
|
|
|
<!--
|
|
|
|
Copyright (c) 2016 Martin Donath <martin.donath@squidfunk.com>
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to
|
|
|
|
deal in the Software without restriction, including without limitation the
|
|
|
|
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
|
sell copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
|
|
IN THE SOFTWARE.
|
|
|
|
-->
|
|
|
|
|
2016-01-29 01:27:15 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<!--[if lt IE 7 ]> <html class="no-js ie6"> <![endif]-->
|
|
|
|
<!--[if IE 7 ]> <html class="no-js ie7"> <![endif]-->
|
|
|
|
<!--[if IE 8 ]> <html class="no-js ie8"> <![endif]-->
|
|
|
|
<!--[if IE 9 ]> <html class="no-js ie9"> <![endif]-->
|
|
|
|
<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js"> <!--<![endif]-->
|
|
|
|
<head>
|
|
|
|
|
|
|
|
<!-- Charset and viewport -->
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width,
|
2016-08-07 19:01:56 +03:00
|
|
|
user-scalable=no, initial-scale=1, maximum-scale=1" />
|
2016-01-29 01:27:15 +03:00
|
|
|
|
|
|
|
<!-- General meta tags -->
|
|
|
|
{% block htmltitle %}
|
|
|
|
|
|
|
|
<!-- Site title -->
|
|
|
|
{% if page_title %}
|
|
|
|
<title>{{ page_title }} - {{ site_name }}</title>
|
2016-02-04 17:03:20 +03:00
|
|
|
{% elif page_description %}
|
|
|
|
<title>{{ site_name }} - {{ page_description }}</title>
|
2016-01-29 01:27:15 +03:00
|
|
|
{% else %}
|
|
|
|
<title>{{ site_name }}</title>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<!-- Site description -->
|
|
|
|
{% if page_description %}
|
|
|
|
<meta name="description" content="{{ page_description }}" />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<!-- Canonical -->
|
|
|
|
{% if canonical_url %}
|
|
|
|
<link rel="canonical" href="{{ canonical_url }}" />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<!-- Author -->
|
|
|
|
{% if site_author %}
|
|
|
|
<meta name="author" content="{{ site_author }}" />
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2016-02-16 15:10:33 +03:00
|
|
|
<!-- Theme-related stylesheets -->
|
2016-02-09 14:58:55 +03:00
|
|
|
<link rel="stylesheet" type="text/css"
|
2016-08-07 19:01:56 +03:00
|
|
|
href="{{ base_url }}/assets/stylesheets/application.css" />
|
2016-02-24 18:24:32 +03:00
|
|
|
|
2016-08-07 19:01:56 +03:00
|
|
|
<!-- Web fonts -->
|
|
|
|
<link rel="stylesheet" type="text/css"
|
2016-09-02 01:33:45 +03:00
|
|
|
href="https://fonts.googleapis.com/css?family=Roboto:300,400,700" />
|
|
|
|
<link rel="stylesheet" type="text/css"
|
|
|
|
href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700" />
|
|
|
|
<link rel="stylesheet" type="text/css"
|
|
|
|
href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
2016-02-16 15:10:33 +03:00
|
|
|
|
|
|
|
<!-- Custom stylesheets -->
|
2016-01-29 01:27:15 +03:00
|
|
|
{% for path in extra_css %}
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ path }}" />
|
|
|
|
{% endfor %}
|
|
|
|
|
2016-02-20 19:25:14 +03:00
|
|
|
<!-- Modernizr -->
|
|
|
|
<script src="{{ base_url }}/assets/javascripts/modernizr.js"></script>
|
2016-01-29 01:27:15 +03:00
|
|
|
</head>
|
2016-08-07 19:01:56 +03:00
|
|
|
<body>
|
2016-01-29 01:27:15 +03:00
|
|
|
|
|
|
|
<!-- State toggles -->
|
2016-08-07 19:01:56 +03:00
|
|
|
<input class="md-toggle" type="checkbox" id="md-toggle-drawer" />
|
|
|
|
<input class="md-toggle" type="checkbox" id="md-toggle-search" />
|
2016-01-29 01:27:15 +03:00
|
|
|
|
|
|
|
<!-- Overlay for expanded drawer -->
|
2016-08-07 19:01:56 +03:00
|
|
|
<label class="md-overlay" for="md-toggle-drawer"></label>
|
2016-01-29 01:27:15 +03:00
|
|
|
|
2016-08-07 19:01:56 +03:00
|
|
|
<!-- Application header -->
|
|
|
|
{% include "header.html" %}
|
2016-01-29 01:27:15 +03:00
|
|
|
|
2016-08-07 19:01:56 +03:00
|
|
|
<!-- Container, necessary for web-application context -->
|
|
|
|
<div class="md-container">
|
2016-02-05 17:34:19 +03:00
|
|
|
|
2016-08-07 19:01:56 +03:00
|
|
|
<!-- Main container -->
|
|
|
|
<main class="md-main">
|
|
|
|
<div class="md-grid md-main__inner">
|
2016-01-29 01:27:15 +03:00
|
|
|
|
2016-08-07 19:01:56 +03:00
|
|
|
<!--
|
|
|
|
This is a nasty hack that checks whether the content contains a
|
|
|
|
h1 headline. If it does, the variable h1 is set to true. This is
|
|
|
|
necessary for correctly rendering the table of contents which is
|
|
|
|
embedded into the navigation and the actual headline.
|
|
|
|
-->
|
|
|
|
{% set h1 = "\x3ch1 id=" in content %}
|
2016-01-29 01:27:15 +03:00
|
|
|
|
2016-08-07 19:01:56 +03:00
|
|
|
<!-- Main navigation -->
|
|
|
|
{% if nav %}
|
|
|
|
{% include "nav.html" %}
|
2016-01-29 01:27:15 +03:00
|
|
|
{% endif %}
|
|
|
|
|
2016-08-07 19:01:56 +03:00
|
|
|
<!-- Table of contents -->
|
|
|
|
{% if toc %}
|
|
|
|
{% include "toc.html" %}
|
|
|
|
{% endif %}
|
2016-01-29 01:27:15 +03:00
|
|
|
|
2016-08-07 19:01:56 +03:00
|
|
|
<!-- Article -->
|
|
|
|
<div class="md-content md-content--typeset">
|
|
|
|
<article class="md-content__inner">
|
|
|
|
{{ content }}
|
|
|
|
|
|
|
|
<!-- Copyright and theme information -->
|
|
|
|
<hr />
|
|
|
|
<small class="md-content__copyright">
|
|
|
|
{% if copyright %}
|
|
|
|
{{ copyright }} –
|
|
|
|
{% endif %}
|
|
|
|
This document was created with
|
2016-09-02 23:59:14 +03:00
|
|
|
<a href="http://www.mkdocs.org">
|
|
|
|
MkDocs
|
|
|
|
</a>
|
2016-08-07 19:01:56 +03:00
|
|
|
and the
|
2016-09-02 23:59:14 +03:00
|
|
|
<a href="http://squidfunk.github.io/mkdocs-material/">
|
|
|
|
Material
|
|
|
|
</a>
|
2016-08-07 19:01:56 +03:00
|
|
|
theme.
|
|
|
|
</small>
|
|
|
|
</article>
|
2016-01-29 01:27:15 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-08-07 19:01:56 +03:00
|
|
|
</main>
|
|
|
|
|
|
|
|
<!-- Application footer -->
|
|
|
|
{% include "footer.html" %}
|
|
|
|
</div>
|
2016-01-29 01:27:15 +03:00
|
|
|
|
|
|
|
<!-- Theme-related and custom javascripts -->
|
|
|
|
<script>
|
|
|
|
var base_url = '{{ base_url }}';
|
2016-08-07 19:01:56 +03:00
|
|
|
var repo_url = '{{ repo_url }}';
|
2016-01-29 01:27:15 +03:00
|
|
|
</script>
|
|
|
|
<script src="{{ base_url }}/assets/javascripts/application.js"></script>
|
|
|
|
{% for path in extra_javascript %}
|
|
|
|
<script src="{{ path }}"></script>
|
|
|
|
{% endfor %}
|
|
|
|
</body>
|
|
|
|
</html>
|