little-hesinde/rusty-library/templates/base.html

38 lines
1.4 KiB
HTML
Raw Normal View History

2024-05-02 16:10:29 +00:00
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark" />
<link rel="stylesheet" href="/static/pico.min.css" />
<link rel="stylesheet" href="/static/style.css" />
2024-05-06 08:55:18 +00:00
<title>Rusty Library</title>
2024-05-02 16:10:29 +00:00
</head>
<body>
2024-05-06 11:51:49 +00:00
<header class="container fixed">
2024-05-06 08:55:18 +00:00
<nav>
<ul>
2024-05-06 11:51:49 +00:00
<li>{% block title %}<strong>{{ title }}</strong>{% endblock title %}</li>
2024-05-06 08:55:18 +00:00
</ul>
<ul>
2024-05-06 11:51:49 +00:00
<li {% if nav == "recent" %}class = "nav-active"{% endif %}><a href="/">Recent</a></li>
<li {% if nav == "authors" %}class = "nav-active"{% endif %}><a href="/authors">Authors</a></li>
<li {% if nav == "books" %}class = "nav-active"{% endif %}><a href="/books">Books</a></li>
<li {% if nav == "series" %}class = "nav-active"{% endif %}><a href="/series">Series</a></li>
2024-05-06 08:55:18 +00:00
</ul>
</nav>
2024-05-06 11:51:49 +00:00
</header>
<main class="container">
2024-05-02 16:10:29 +00:00
{% block content %}{% endblock content %}
</main>
2024-05-06 14:37:10 +00:00
<footer class="container">
<hr />
2024-05-10 12:25:18 +00:00
<small>
From <a href="https://code.vanwa.ch/shu/rusty-library">https://code.vanwa.ch</a>
under <a href="https://www.gnu.org/licenses/agpl-3.0.txt">AGPL-3</a>
- <a href="/opds">opds feed</a>
</small>
2024-05-06 14:37:10 +00:00
</footer>
2024-05-02 16:10:29 +00:00
</body>
</html>