forked from toltec-dev/web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.html
36 lines (33 loc) · 1.19 KB
/
layout.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{%- if title == "Home" %}
<title>{{ docstitle|e }}</title>
{%- else %}
{%- set titlesuffix = " — "|safe + docstitle|e %}
<title>{{ title|striptags|e }}{{ titlesuffix }}</title>
{%- endif %}
<link rel="stylesheet" href="_static/toltec.css">
<link rel="icon" href="_static/images/favicon.png" type="image/png">
<link rel="icon" href="_static/images/favicon.svg" sizes="any" type="image/svg+xml">
</head>
<body>
<aside class="sidebar">
<header class="sidebar-header">
<a href="/">
<img alt="" src="_static/images/toltec-small.svg"
class="sidebar-logo">
<span class="sidebar-sitename">{{ project }}</span>
</a>
</header>
{%- for sidebartemplate in sidebars %}
{%- include sidebartemplate %}
{%- endfor %}
</aside>
<main>
{% block body %} {% endblock %}
</main>
</body>
</html>