mkdocs-material/materializr/base.html

121 lines
4.7 KiB
HTML
Raw Normal View History

2016-01-29 01:27:15 +03:00
<!DOCTYPE html>
2016-02-04 17:03:20 +03: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-29 01:27:15 +03:00
<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js"> <!--<![endif]-->
<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-01-29 01:27:15 +03:00
{% block htmltitle %}
{% 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 %}
{% if page_description %}
2016-02-04 17:03:20 +03:00
<meta name="description" content="{{ page_description }}">
2016-01-29 01:27:15 +03:00
{% endif %}
{% if canonical_url %}
2016-02-04 17:03:20 +03:00
<link rel="canonical" href="{{ canonical_url }}">
2016-01-29 01:27:15 +03:00
{% endif %}
{% if site_author %}
2016-02-04 17:03:20 +03:00
<meta name="author" content="{{ site_author }}">
2016-01-29 01:27:15 +03:00
{% endif %}
{% endblock %}
2016-02-04 17:03:20 +03:00
<meta name="apple-mobile-web-app-title" content="{{ site_name }}">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="shortcut icon" type="image/x-icon" href="{{ icon | default('/assets/images/favicon.ico') }}">
<link rel="icon" type="image/x-icon" href="{{ icon | default('/assets/images/favicon.ico') }}">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,700">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu+Mono">
{% if config.extra.theme %}
{% set theme = config.extra.theme %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.{{ theme }}.css">
{% else %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-dd5b6433.css">
{% endif %}
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 %}
{% block extrahead %}{% endblock %}
</head>
<body>
<div class="backdrop">
<div class="backdrop-paper"></div>
</div>
2016-02-04 17:03:20 +03:00
<input class="toggle" type="checkbox" id="toggle-drawer">
<input class="toggle" type="checkbox" id="toggle-search">
2016-01-29 01:27:15 +03:00
<label class="toggle-button overlay" for="toggle-drawer"></label>
<header class="header">
{% include "header.html" %}
</header>
<main class="main">
<div class="drawer">
{% include "drawer.html" %}
</div>
<article class="article">
<div class="wrapper">
{% if page_title %}
<h1>{{ page_title }}</h1>
{% else %}
<h1>{{ site_name }}</h1>
{% endif %}
2016-02-04 17:03:20 +03:00
<hr>
2016-01-29 01:27:15 +03:00
{{ content }}
<aside class="copyright" role="note">
{% if copyright %}
{{ copyright }} &ndash;
{% endif %}
Documentation built with
<a href="http://www.mkdocs.org" target="_blank">MkDocs</a>
using the
2016-02-04 17:03:20 +03:00
<a href="https://github.com/squidfunk/materializr" target="_blank">
Materializr
2016-01-29 01:27:15 +03:00
</a>
theme.
</aside>
{% block footer %}
<footer class="footer">
{% include "footer.html" %}
</footer>
{% endblock %}
2016-02-04 17:03:20 +03:00
</div></article>
2016-01-29 01:27:15 +03:00
<div class="results" role="status" aria-live="polite">
<div class="scrollable">
<div class="wrapper">
<div class="meta"></div>
<div class="list"></div>
</div>
</div>
</div>
</main>
2016-02-04 17:03:20 +03:00
<script src="{{ base_url }}/assets/javascripts/modernizr-e95367ea.js"></script>
2016-01-29 01:27:15 +03:00
{% set repo_id = repo_url | replace('https://github.com/', '') %}
<script>
var base_url = '{{ base_url }}';
var repo_id = '{{ repo_id }}';
</script>
2016-02-04 17:03:20 +03:00
<script src="{{ base_url }}/assets/javascripts/application-3bd5fcbd.js"></script>
2016-01-29 01:27:15 +03:00
{% for path in extra_javascript %}
<script src="{{ path }}"></script>
{% endfor %}
{% if google_analytics %}
<script>
(function(i,s,o,g,r,a,m){
i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||
[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;
m.parentNode.insertBefore(a,m)
})(window, document,
'script', '//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ google_analytics[0] }}', '{{ google_analytics[1] }}');
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
{% endif %}
</body>
</html>