1
0
Fork 0
forked from cisti/hackrocchio
hackrocchio/theme/base.html
2020-02-27 11:26:31 +01:00

88 lines
3 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="text-light container" role="document">
<!-- <div id='text_header'></div> -->
<div id='header'>
<h1>Hack<span style='color: red;'>Я</span>occhio</h1>
<h2>4 e 5 Aprile 2020 - C.S.O.A. Gabrio, Torino</h2>
</div>
{# SIDE NAV, TOGGLES ON MOBILE #}
<nav class='navbar navbar-expand-sm'>
<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="{% if page.title == nav_item.title %}nav-active{% endif %} mr-1 mt-1 p-1 pr-2 pl-2 btn nav-link">{{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 src="{{base_url}}/js/vinz.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 %}