forked from cisti/hackrocchio
84 lines
2.7 KiB
HTML
84 lines
2.7 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>
|
|
{%- block site_meta %}
|
|
<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 page and page.is_homepage %}<meta name="description" content="{{ config.site_description }}">{% endif %}
|
|
{% if config.site_author %}<meta name="author" content="{{ config.site_author }}">{% endif %}
|
|
{% if config.site_favicon %}<link rel="shortcut icon" href="{{ config.site_favicon|url }}">
|
|
{% else %}<link rel="shortcut icon" href="{{ 'img/favicon.ico'|url }}">{% endif %}
|
|
{%- endblock %}
|
|
|
|
{%- block htmltitle %}
|
|
<title>{% if page and page.title and not page.is_hompage %}{{ page.title }} - {% endif %}{{ config.site_name }}</title>
|
|
{%- endblock %}
|
|
|
|
{%- block styles %}
|
|
<link rel="stylesheet" href="{{ base_url }}/css/bootstrap.min.css" type="text/css" />
|
|
<link rel="stylesheet" href="{{ base_url }}/css/theme.css" type="text/css" />
|
|
{%- endblock %}
|
|
|
|
{%- block libs %}
|
|
{% if page %}
|
|
<script>
|
|
// Current page data
|
|
var mkdocs_page_name = {{ page.title|tojson|safe }};
|
|
var mkdocs_page_input_path = {{ page.file.src_path|string|tojson|safe }};
|
|
var mkdocs_page_url = {{ page.abs_url|tojson|safe }};
|
|
</script>
|
|
{% endif %}
|
|
{%- endblock %}
|
|
|
|
</head>
|
|
|
|
<body class="bg-dark p-5 text-light container" role="document">
|
|
|
|
{# SIDE NAV, TOGGLES ON MOBILE #}
|
|
<nav class='bg-dark navbar navbar-expand-sm bg-light'>
|
|
<ul class="navbar-nav">
|
|
|
|
{%- block site_nav %}
|
|
{% for nav_item in nav %}
|
|
<!-- <li class="toctree-l{{ navlevel }}{% if nav_item.active and not nav_item.children %} current{%endif%}"> -->
|
|
<!-- <li class="nav-item btn btn-danger ml-1"> -->
|
|
<a href="{{ nav_item.url|url }}" class="mr-2 mt-1 p-1 pr-2 pl-2 btn btn-danger nav-link text-light">{{nav_item.title}}</a>
|
|
<!-- </li> -->
|
|
{% endfor %}
|
|
</ul>
|
|
{%- endblock %}
|
|
</nav>
|
|
|
|
|
|
{# PAGE CONTENT #}
|
|
<div role="main">
|
|
<div class="mt-4 section">
|
|
{% block content %}
|
|
{{ page.content }}
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
{%- block footer %}
|
|
{% include "footer.html" %}
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{%- block scripts %}
|
|
<script src="{{base_url}}/js/jquery-3.4.1.slim.min.js"></script>
|
|
<script src="{{base_url}}/js/popper.min.js"></script>
|
|
<script src="{{base_url}}/js/bootstrap.min.js"></script>
|
|
<script>var base_url = '{{ base_url }}';</script>
|
|
{%- endblock %}
|
|
|
|
</body>
|
|
</html>
|
|
{% if page and page.is_homepage %}
|
|
<!--
|
|
MkDocs version : {{ mkdocs_version }}
|
|
Build Date UTC : {{ build_date_utc }}
|
|
-->
|
|
{% endif %}
|