1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 10:00:52 +01:00
mkdocs-material/material/base.html

81 lines
3.1 KiB
HTML
Raw Normal View History

2016-01-28 23:27:15 +01:00
<!DOCTYPE html>
2016-02-04 15:03:20 +01:00
<!--[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]-->
2016-01-28 23:27:15 +01:00
<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js"> <!--<![endif]-->
<head>
2016-02-04 15:03:20 +01:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1">
2016-01-28 23:27:15 +01:00
{% block htmltitle %}
{% if page_title %}
<title>{{ page_title }} - {{ site_name }}</title>
2016-02-04 15:03:20 +01:00
{% elif page_description %}
<title>{{ site_name }} - {{ page_description }}</title>
2016-01-28 23:27:15 +01:00
{% else %}
<title>{{ site_name }}</title>
{% endif %}
{% if page_description %}
2016-02-04 15:03:20 +01:00
<meta name="description" content="{{ page_description }}">
2016-01-28 23:27:15 +01:00
{% endif %}
{% if canonical_url %}
2016-02-04 15:03:20 +01:00
<link rel="canonical" href="{{ canonical_url }}">
2016-01-28 23:27:15 +01:00
{% endif %}
{% if site_author %}
2016-02-04 15:03:20 +01:00
<meta name="author" content="{{ site_author }}">
2016-01-28 23:27:15 +01:00
{% endif %}
{% endblock %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-8e9e9d1cff.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,700">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
2016-01-28 23:27:15 +01:00
{% for path in extra_css %}
2016-02-04 15:03:20 +01:00
<link rel="stylesheet" href="{{ path }}">
2016-01-28 23:27:15 +01:00
{% endfor %}
<script src="{{ base_url }}/assets/javascripts/modernizr-31a00ebfc6.js"></script>
2016-01-28 23:27:15 +01:00
</head>
2016-08-07 18:01:56 +02:00
<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" %}
2016-01-28 23:27:15 +01:00
{% endif %}
2016-08-07 18:01:56 +02:00
{% 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>
2016-01-28 23:27:15 +01:00
</div>
</div>
2016-08-07 18:01:56 +02:00
</main>
{% include "footer.html" %}
</div>
2016-01-28 23:27:15 +01:00
<script>
var base_url = '{{ base_url }}';
2016-08-07 18:01:56 +02:00
var repo_url = '{{ repo_url }}';
2016-01-28 23:27:15 +01:00
</script>
<script src="{{ base_url }}/assets/javascripts/application-e9877e2824.js"></script>
2016-01-28 23:27:15 +01:00
{% for path in extra_javascript %}
<script src="{{ path }}"></script>
{% endfor %}
</body>
</html>