mkdocs-material/material/base.html
2016-08-07 18:01:56 +02:00

95 lines
3.5 KiB
HTML

<!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>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1">
{% block htmltitle %}
{% if page_title %}
<title>{{ page_title }} - {{ site_name }}</title>
{% elif page_description %}
<title>{{ site_name }} - {{ page_description }}</title>
{% else %}
<title>{{ site_name }}</title>
{% endif %}
{% if page_description %}
<meta name="description" content="{{ page_description }}">
{% endif %}
{% if canonical_url %}
<link rel="canonical" href="{{ canonical_url }}">
{% endif %}
{% if site_author %}
<meta name="author" content="{{ site_author }}">
{% endif %}
{% endblock %}
<style>
@font-face {
font-family: "Icon";
src: url({{ base_url }}/assets/fonts/icon.eot?52m981);
src: url({{ base_url }}/assets/fonts/icon.eot?#iefix52m981)
format("embedded-opentype"),
url({{ base_url }}/assets/fonts/icon.woff?52m981)
format("woff"),
url({{ base_url }}/assets/fonts/icon.ttf?52m981)
format("truetype"),
url({{ base_url }}/assets/fonts/icon.svg?52m981#icon)
format("svg");
font-weight: normal;
font-style: normal;
}
</style>
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-fe75383308.css">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto+300,400,700|Roboto+Mono">
{% for path in extra_css %}
<link rel="stylesheet" href="{{ path }}">
{% endfor %}
<script src="{{ base_url }}/assets/javascripts/modernizr-d1e05123d4.js"></script>
</head>
<body>
<input class="md-toggle" type="checkbox" id="md-toggle-drawer">
<input class="md-toggle" type="checkbox" id="md-toggle-search">
<label class="md-overlay" for="md-toggle-drawer"></label>
{% include "header.html" %}
<div class="md-container">
<main class="md-main">
<div class="md-grid md-main__inner">
{% set h1 = "\x3ch1 id=" in content %}
{% if nav %}
{% include "nav.html" %}
{% endif %}
{% if toc %}
{% include "toc.html" %}
{% endif %}
<div class="md-content md-content--typeset">
<article class="md-content__inner">
{{ content }}
<hr>
<small class="md-content__copyright">
{% if copyright %}
{{ copyright }} &ndash;
{% endif %}
This document was created with
<a href="http://www.mkdocs.org" target="_blank">MkDocs</a>
and the
<a href="http://squidfunk.github.io/mkdocs-material/" target="_blank">Material</a>
theme.
</small>
</article>
</div>
</div>
</main>
{% include "footer.html" %}
</div>
<script>
var base_url = '{{ base_url }}';
var repo_url = '{{ repo_url }}';
</script>
<script src="{{ base_url }}/assets/javascripts/application-a7f7c32389.js"></script>
{% for path in extra_javascript %}
<script src="{{ path }}"></script>
{% endfor %}
</body>
</html>