split out old books into book and books.html, all *.html now using extends and {% block %} in jinja2. So navbar is now present in all URLs
This commit is contained in:
@@ -24,13 +24,13 @@
|
||||
<div class="nav-item dropdown">
|
||||
<a class="nav-item dropdown nav-link dropdown-toggle" href="#" id="BookMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Books</a>
|
||||
<div class="dropdown-menu" aria-labelledby="BookMenu">
|
||||
<a class="dropdown-item" href="#">Show All</a>
|
||||
<a class="dropdown-item" href="{{url_for('books')}}">Show All</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="nav-item dropdown">
|
||||
<a class="nav-item dropdown nav-link dropdown-toggle" href="#" id="AuthorMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Authors</a>
|
||||
<div class="dropdown-menu" aria-labelledby="AuthorMenu">
|
||||
<a class="dropdown-item" href="/authors">Show All</a>
|
||||
<a class="dropdown-item" href="{{url_for('authors')}}">Show All</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="nav-item dropdown">
|
||||
|
||||
Reference in New Issue
Block a user