blob: 5370ad7107013f6b800236d2749e37f1f1bb8d13 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ site }} - {{ name | upper }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preload" href="{{ base }}lexend.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="{{ base }}{{ style }}">
<link rel="icon" href="{{ base }}favicon.ico" sizes="any">
</head>
<body>
<div style="padding: 20px">
<a class="back" href="{{ base }}">Back</a>
<h1>Index - {{ name | upper }}</h1>
<div class="index {{ "index-tags" if tags }}">
{% for page, page_raw, page_loc, not_empty in index_pages %}
{% if page_raw == loc %}
<span><b><u>{{ page }}</u></b></span>
{% elif not_empty %}
<a href="{{ base }}{{ page_loc }}/">{{ page }}</a>
{% else %}
<span>{{ page }}</span>
{% endif %}
{% endfor %}
</div>
<br>
<div class="index index-rating">
{% if rating == None %}
<span>Any</span>
{% else %}
<a href="{{ base }}{{ prefix }}/{{ loc }}">Any</a>
{% endif %}
{% for r in content_ratings %}
{% if rating == r %}
<span>{{ r }}</span>
{% else %}
<a href="{{ base }}{{ prefix }}-{{ r | lower }}/{{ loc }}/">{{ r }}</a>
{% endif %}
{% endfor %}
</div>
</div>
<div class="gallery">
{% for tn in thumbnails %}
<a href="{{ base }}{{ tn["loc"] }}/">
<figure>
<img class="t {{ tn["offset"] }}" src="{{ base }}{{ tn["img"] }}" {{ 'loading="lazy"' if loop.index > 32 }} alt="">
<figcaption>{{ tn["name"] }}</figcaption>
</figure>
</a>
{% endfor %}
{% if not thumbnails %}
<p style="font-style: italic">(Empty)</p>
{% endif %}
</div>
</body>
</html>
|