paginated authors
This commit is contained in:
parent
352d4e0a7a
commit
ead3672570
12 changed files with 175 additions and 23 deletions
|
@ -9,18 +9,20 @@
|
|||
<title>Rusty Library</title>
|
||||
</head>
|
||||
<body>
|
||||
<main class="container">
|
||||
<header class="container fixed">
|
||||
<nav>
|
||||
<ul>
|
||||
<li><strong>Library</strong></li>
|
||||
<li>{% block title %}<strong>{{ title }}</strong>{% endblock title %}</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="/">Recent</a></li>
|
||||
<li><a href="/authors">Authors</a></li>
|
||||
<li><a href="/books">Books</a></li>
|
||||
<li><a href="/series">Series</a></li>
|
||||
<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>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<main class="container">
|
||||
{% block content %}{% endblock content %}
|
||||
</main>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue