mkdocs-material/material/base.html

118 lines
4.2 KiB
HTML
Raw Normal View History

2016-01-29 01:27:15 +03:00
<!DOCTYPE html>
2016-09-08 20:43:23 +03:00
<html class="no-js">
2016-01-29 01:27:15 +03:00
<head>
2016-02-04 17:03:20 +03:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1">
2016-09-08 20:43:23 +03:00
{% 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 %}
<meta name="generator" content="mkdocs+mkdocs-material#0.2.1">
2016-12-15 17:55:40 +03:00
<script src="{{ base_url }}/assets/javascripts/modernizr.js"></script>
2016-09-08 20:43:23 +03:00
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700">
2016-09-23 12:56:25 +03:00
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono:400">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
2016-12-15 17:55:40 +03:00
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.css">
2016-01-29 01:27:15 +03:00
{% for path in extra_css %}
2016-02-04 17:03:20 +03:00
<link rel="stylesheet" href="{{ path }}">
2016-01-29 01:27:15 +03:00
{% endfor %}
</head>
2016-08-07 19:01:56 +03:00
<body>
2016-12-15 17:55:40 +03:00
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="drawer">
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="search">
<label class="md-overlay" data-md-overlay for="drawer"></label>
2016-09-23 12:56:25 +03:00
{% include "partials/header.html" %}
2016-08-07 19:01:56 +03:00
<div class="md-container">
<main class="md-main">
<div class="md-main__inner md-grid">
2016-08-07 19:01:56 +03:00
{% set h1 = "\x3ch1 id=" in content %}
{% if nav %}
<div class="md-sidebar md-sidebar--primary" data-md-sidebar="primary">
2016-09-23 12:56:25 +03:00
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
{% include "partials/nav.html" %}
</div>
</div>
</div>
2016-01-29 01:27:15 +03:00
{% endif %}
2016-08-07 19:01:56 +03:00
{% if toc %}
<div class="md-sidebar md-sidebar--secondary" data-md-sidebar="secondary">
2016-09-23 12:56:25 +03:00
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
{% include "partials/toc.html" %}
</div>
</div>
</div>
2016-08-07 19:01:56 +03:00
{% endif %}
2016-09-23 21:26:27 +03:00
<div class="md-content">
<article class="md-content__inner md-typeset">
2016-09-23 12:56:25 +03:00
{% block content %}
{% if edit_uri %}
<a class="md-button md-button--edit" href="{{ edit_uri }}">
Edit
</a>
{% endif %}
{{ content }}
{% endblock %}
2016-08-07 19:01:56 +03:00
<hr>
<small class="md-content__copyright">
{% if copyright %}
{{ copyright }} &ndash;
{% 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>
2016-09-23 12:56:25 +03:00
{% include "partials/footer.html" %}
2016-08-07 19:01:56 +03:00
</div>
2016-12-15 17:55:40 +03:00
{% for extension in config.markdown_extensions %}
{% if extension == "pymdownx.arithmatex" %}
{% set path = "mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML" %}
<script src="https://cdn.mathjax.org/{{ path }}"></script>
{% endif %}
{% endfor %}
<script src="{{ base_url }}/assets/javascripts/application.js"></script>
2016-01-29 01:27:15 +03:00
<script>
/* Configuration for application */
var config = {
url: {
base: "{{ base_url }}",
},
repo: {
url: "{{ repo_url }}",
icon: "{{ repo_icon }}",
},
storage: window.sessionStorage,
};
/* Initialize application */
var app = new Application(config);
app.initialize();
2016-01-29 01:27:15 +03:00
</script>
{% for path in extra_javascript %}
<script src="{{ path }}"></script>
{% endfor %}
</body>
2016-09-23 12:56:25 +03:00
</html>