Add nav. Clarify pub date and publisher

This commit is contained in:
HackerNCoder 2023-12-13 05:21:31 +01:00
parent 9e099a851d
commit eee96c19b3
3 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,6 @@ title: Soviet Justice (Alt: Russian Justice)
--- ---
author: Marru Stevens Callcott author: Marru Stevens Callcott
--- ---
publisher: UKN. publisher: Publisher UKN.
--- ---
pub_date: UKN. Presumed around 1936 (ref in This Soviet World) pub_date: Pub date UKN. Presumed around 1936 (ref in This Soviet World)

View file

@ -6,6 +6,7 @@
<body> <body>
<header> <header>
<h1>Comrades Library</h1> <h1>Comrades Library</h1>
{% include 'nav.html' %}
</header> </header>
<div class="page"> <div class="page">
{% block body %}{% endblock %} {% block body %}{% endblock %}

View file

@ -3,6 +3,7 @@
<li{% if this._path == '/' %} class="active"{% endif%}><a href="{{ '/'|url }}">Home</a></li> <li{% if this._path == '/' %} class="active"{% endif%}><a href="{{ '/'|url }}">Home</a></li>
{% for href, title in [ {% for href, title in [
['/epubs', 'Epubs'], ['/epubs', 'Epubs'],
['/wishes', 'Wishes'],
] %} ] %}
<li{% if this.is_child_of(href) %} class="active"{% endif <li{% if this.is_child_of(href) %} class="active"{% endif
%}><a href="{{ href|url }}">{{ title }}</a></li> %}><a href="{{ href|url }}">{{ title }}</a></li>