summaryrefslogtreecommitdiff
path: root/assets/chapter.html.jinja
diff options
context:
space:
mode:
authorShy <[email protected]>2026-02-08 10:30:41 -0500
committerShy <[email protected]>2026-02-08 10:30:41 -0500
commit5f81d506095852c3f0db5322e67c862f904da3f1 (patch)
tree1112345c35eb88d80988ddcd6d04768e90f76ea8 /assets/chapter.html.jinja
downloadyuri.directory-5f81d506095852c3f0db5322e67c862f904da3f1.tar.xz
yuri.directory-5f81d506095852c3f0db5322e67c862f904da3f1.zip
Initial commit
Diffstat (limited to 'assets/chapter.html.jinja')
-rw-r--r--assets/chapter.html.jinja45
1 files changed, 45 insertions, 0 deletions
diff --git a/assets/chapter.html.jinja b/assets/chapter.html.jinja
new file mode 100644
index 0000000..972ac75
--- /dev/null
+++ b/assets/chapter.html.jinja
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>{{ site }} - {{ series_name }} - {{ chapter_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>
+
+ <a class="back" href="{{ base }}{{ series_loc }}/">Back</a>
+
+ {% if prev_loc or next_loc %}
+ <div class="nav">
+ {% if prev_loc %}
+ <a class="nav-link" href="{{ base }}{{ prev_loc }}/">Previous</a>
+ {% endif %}
+
+ {% if next_loc %}
+ <a class="nav-link right" href="{{ base }}{{ next_loc }}/">Next</a>
+ {% endif %}
+ </div>
+ {% endif %}
+
+ <div class="container">
+ {% for im in images %}
+ <img src="{{ base }}{{ loc }}/{{ im }}" {{ 'loading="lazy"' if loop.index != 1 }} alt="page {{ loop.index }}">
+ {% endfor %}
+ </div>
+
+ {% if prev_loc or next_loc %}
+ <div class="nav" style="margin-bottom: 60px">
+ {% if prev_loc %}
+ <a class="nav-link" href="{{ base }}{{ prev_loc }}/">Previous</a>
+ {% endif %}
+
+ {% if next_loc %}
+ <a class="nav-link right" href="{{ base }}{{ next_loc }}/">Next</a>
+ {% endif %}
+ </div>
+ {% endif %}
+</body>
+</html> \ No newline at end of file