blob: 842761fa450984e2e894cec5777110eb35fd12f6 (
plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{% if not body_only %}
<!DOCTYPE html>
<html lang="{{ language | lower }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ chapter.title }}</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>
{% endif %}
<nav>
{% if 1 < number %}
<a href="{{ number - 2 }}.html" class="nav_item">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</a>
{% else %}
<div class="nav_item"></div>
{% endif %}
<a href="index.html" class="nav_item">
<i class="fa fa-home" aria-hidden="true"></i>
</a>
{% if number < chapters_number %}
<a href="{{ number }}.html" class="nav_item">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</a>
{% else %}
<div class="nav_item"></div>
{% endif %}
</nav>
<h1>
{% if numbering %}
<span class="title-number">
– {{ number }} –
</span>
{% endif %}
{{ chapter.title }}
</span>
</h1>
<article class="ogmarkup">
{% for content in chapter.content %}
{{ content | safe }}
{% endfor %}
</article>
{% if not body_only %}
</body>
</html>
{% endif %}
|