diff options
Diffstat (limited to 'assets/series.html.jinja')
| -rw-r--r-- | assets/series.html.jinja | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/assets/series.html.jinja b/assets/series.html.jinja new file mode 100644 index 0000000..81722ed --- /dev/null +++ b/assets/series.html.jinja @@ -0,0 +1,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>
\ No newline at end of file |
