61 lines
3.4 KiB
HTML
61 lines
3.4 KiB
HTML
{% extends "!layout.html" %}
|
|
{% block extrahead %}
|
|
<link rel="apple-touch-icon" sizes="57x57" href="{{ pathto('_static/favicon/apple-icon-57x57.png', 1) }}">
|
|
<link rel="apple-touch-icon" sizes="60x60" href="{{ pathto('_static/favicon/apple-icon-60x60.png', 1) }}">
|
|
<link rel="apple-touch-icon" sizes="72x72" href="{{ pathto('_static/favicon/apple-icon-72x72.png', 1) }}">
|
|
<link rel="apple-touch-icon" sizes="76x76" href="{{ pathto('_static/favicon/apple-icon-76x76.png', 1) }}">
|
|
<link rel="apple-touch-icon" sizes="114x114" href="{{ pathto('_static/favicon/apple-icon-114x114.png', 1) }}">
|
|
<link rel="apple-touch-icon" sizes="120x120" href="{{ pathto('_static/favicon/apple-icon-120x120.png', 1) }}">
|
|
<link rel="apple-touch-icon" sizes="144x144" href="{{ pathto('_static/favicon/apple-icon-144x144.png', 1) }}">
|
|
<link rel="apple-touch-icon" sizes="152x152" href="{{ pathto('_static/favicon/apple-icon-152x152.png', 1) }}">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ pathto('_static/favicon/apple-icon-180x180.png', 1) }}">
|
|
<link rel="icon" type="image/png" sizes="192x192" href="{{ pathto('_static/favicon/android-icon-192x192.png', 1) }}">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ pathto('_static/favicon/favicon-32x32.png', 1) }}">
|
|
<link rel="icon" type="image/png" sizes="96x96" href="{{ pathto('_static/favicon/favicon-96x96.png', 1) }}">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ pathto('_static/favicon/favicon-16x16.png', 1) }}">
|
|
<link rel="manifest" href="{{ pathto('_static/favicon/manifest.json', 1) }}">
|
|
<meta name="msapplication-TileColor" content="#ffffff">
|
|
<meta name="msapplication-TileImage" content="{{ pathto('_static/favicon/ms-icon-144x144.png', 1) }}">
|
|
<meta name="theme-color" content="#ffffff">
|
|
{% endblock %}
|
|
{% block sidebartitle %}
|
|
<a href="http://www.minizinc.org">
|
|
{% if logo %}
|
|
{# Not strictly valid HTML, but it's the only way to display/scale
|
|
it properly, without weird scripting or heaps of work
|
|
#}
|
|
<img src="{{ pathto('_static/' + logo, 1) }}" class="logo" alt="Logo"/>
|
|
{% endif %}
|
|
</a>
|
|
|
|
{% if theme_display_version %}
|
|
{%- set nav_version = release %}
|
|
{% if nav_version %}
|
|
<div class="version">
|
|
{{ nav_version }}
|
|
</div>
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% include "searchbox.html" %}
|
|
{% endblock %}
|
|
|
|
{% block menu %}
|
|
{#
|
|
The singlehtml builder doesn't handle this toctree call when the
|
|
toctree is empty. Skip building this for now.
|
|
#}
|
|
{% if 'singlehtml' not in builder %}
|
|
{% set global_toc = toctree(maxdepth=theme_navigation_depth|int,
|
|
collapse=theme_collapse_navigation|tobool,
|
|
includehidden=theme_includehidden|tobool,
|
|
titles_only=theme_titles_only|tobool) %}
|
|
{% endif %}
|
|
<a href="{{ pathto(master_doc) }}" class="reference internal icon icon-home"> {{ project }} </a>
|
|
{% if global_toc %}
|
|
{{ global_toc }}
|
|
{% else %}
|
|
<!-- Local TOC -->
|
|
<div class="local-toc">{{ toc }}</div>
|
|
{% endif %}
|
|
{% endblock %} |