mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
113 lines
4.1 KiB
HTML
113 lines
4.1 KiB
HTML
<!DOCTYPE html>
|
|
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
{% if config.site_description %}<meta name="description" content="{{ config.site_description }}">{% endif %}
|
|
{% if config.site_author %}<meta name="author" content="{{ config.site_author }}">{% endif %}
|
|
{% block htmltitle %}
|
|
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }}</title>
|
|
{% endblock %}
|
|
|
|
<link rel="shortcut icon" href="https://gravitational.com/favicon.ico" type="image/x-icon" />
|
|
|
|
{# CSS #}
|
|
<link rel="stylesheet" href="{{ base_url }}/css/font-awesome.css">
|
|
<link rel="stylesheet" href="{{ base_url }}/css/highlight.css">
|
|
<link rel="stylesheet" href="{{ base_url }}/css/teleport-bundle.css">
|
|
|
|
|
|
{%- for path in extra_css %}
|
|
<link href="{{ path }}" rel="stylesheet">
|
|
{%- endfor %}
|
|
|
|
<!-- external JS -->
|
|
<script src="{{ base_url }}/js/jquery-2.1.1.min.js"></script>
|
|
<script type="text/javascript" src="{{ base_url }}/js/highlight.pack.js"></script>
|
|
<script src="{{ base_url }}/js/base.js"></script>
|
|
<script src="{{ base_url }}/js/theme.js"></script>
|
|
{% if page %}
|
|
<script>
|
|
// current page data
|
|
var mkdocs_page_name = "{{ page.title }}";
|
|
var mkdocs_page_input_path = "{{ page.input_path }}";
|
|
var mkdocs_page_url = "{{ page.abs_url }}";
|
|
|
|
// configure UI components
|
|
window.grvConfig = window.grvConfig || {
|
|
docVersions: ["1.3", "2.0", "2.3", "2.4", "2.5", "2.7"],
|
|
docCurrentVer: "{{ config.extra.version }}"
|
|
}
|
|
</script>
|
|
|
|
<style type="text/css">
|
|
h2[id] a, h3[id] a { border-bottom: none; text-decoration: none; color: #2980b9; }
|
|
h2[id]:hover a:before, h3[id]:hover a:before { content: " \00B6"; }
|
|
</style>
|
|
{% endif %}
|
|
|
|
{%- block extrahead %} {% endblock %}
|
|
|
|
{%- for path in extra_javascript %}
|
|
<script src="{{ path }}"></script>
|
|
{%- endfor %}
|
|
|
|
{% if config.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', '{{ config.google_analytics[0] }}', '{{ config.google_analytics[1] }}');
|
|
ga('send', 'pageview');
|
|
</script>
|
|
{% endif %}
|
|
</head>
|
|
<body role="document">
|
|
<div class="grv-docs">
|
|
{% include "topnav.html" %}
|
|
<div class="grv-content">
|
|
{# SIDE NAV, TOGGLES ON MOBILE #}
|
|
<nav class="grv-content-nav">
|
|
<div class="grv-nav-search m-t-sm">
|
|
{% include "searchbox.html" %}
|
|
</div>
|
|
<div class="grv-content-nav-body" data-spy="affix" role="na$color-font-7vigation">
|
|
{% include "toc.html" %}
|
|
</div>
|
|
|
|
</nav>
|
|
<section class="grv-content-body">
|
|
{# PAGE CONTENT #}
|
|
<div class="grv-content-page">
|
|
<div class="rst-content">
|
|
<div role="main">
|
|
<div class="section grv-markdown">
|
|
{% block content %}
|
|
{{ page.content }}
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
{%- block footer %}
|
|
{% include "pagination.html" %}
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
{%- block grvfooter %}
|
|
{% include "footer.html" %}
|
|
{% endblock %}
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
{% if page and page.is_homepage %}
|
|
<!--
|
|
MkDocs version : {{ mkdocs_version }}
|
|
Build Date UTC : {{ build_date_utc }}
|
|
-->
|
|
{% endif %}
|