1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-09-25 03:48:24 +02:00
mkdocs-material/material/base.html

85 lines
3.2 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 %}
2016-09-04 18:13:17 +02:00
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-984ab9f73e.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 %}
2016-09-04 18:13:17 +02:00
<script src="{{ base_url }}/assets/javascripts/modernizr-ca288b1d5b.js"></script>
2016-01-28 23:27:15 +01:00
</head>
2016-08-07 18:01:56 +02:00
<body>
<input class="md-toggle md-toggle--drawer" type="checkbox" id="drawer">
<input class="md-toggle md-toggle--search" type="checkbox" id="search">
<label class="md-overlay" for="drawer"></label>
2016-08-07 18:01:56 +02:00
{% 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
2016-09-02 22:59:14 +02:00
<a href="http://www.mkdocs.org">
MkDocs
</a>
2016-08-07 18:01:56 +02:00
and the
2016-09-02 22:59:14 +02:00
<a href="http://squidfunk.github.io/mkdocs-material/">
Material
</a>
2016-08-07 18:01:56 +02:00
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>