summaryrefslogtreecommitdiff
path: root/assets/series.html.jinja
blob: 81722ed8a33d21723e0a73c2d7703c001455dba2 (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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{ site }} - {{ series_name }}</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 class="sheet">

        <a class="back" href="javascript:(new URL(document.referrer)).pathname.match(/^\/[it]\/.*/) ? history.back() : window.location.href = '{{ base }}'">Back</a>

        <h1>{{ series_name }}</h1>

        <img class="cover" src="{{ base }}{{ loc }}/cover.webp" alt="cover">

        <p><b>Content rating:</b> {{ rating }}</p>

        <h3>Tags</h3>
        <ul class="li-link">
            {% for tag in tags %}
                <li><a href="{{ base }}t/{{ tag | slug }}/">{{ tag }}</a></li>
            {% endfor %}
        </ul>

        <h3>Chapters</h3>
        <div class="nav nav-vertical">
            {% for chapter in chapters %}
                <a class="nav-link" href="{{ base }}{{ chapter["location"] }}/">{{ chapter["name"] }}</a>
            {% endfor %}
        </div>
    </div>

</body>
</html>