diff options
Diffstat (limited to 'jthanio')
-rw-r--r-- | jthanio/templates/base.html | 1 | ||||
-rw-r--r-- | jthanio/templates/navigation.html | 30 | ||||
-rw-r--r-- | jthanio/templatetags/custom_tags.py | 0 |
3 files changed, 5 insertions, 26 deletions
diff --git a/jthanio/templates/base.html b/jthanio/templates/base.html index f288bf3..694f86c 100644 --- a/jthanio/templates/base.html +++ b/jthanio/templates/base.html @@ -1,5 +1,4 @@ {% load static wagtailuserbar %} - <!DOCTYPE html> <html class="no-js" lang="en"> <head> diff --git a/jthanio/templates/navigation.html b/jthanio/templates/navigation.html index 54756a2..0b6026d 100644 --- a/jthanio/templates/navigation.html +++ b/jthanio/templates/navigation.html @@ -1,25 +1,5 @@ -<nav class="navbar navbar-expand-lg navbar-dark bg-dark"> - <div class="container"> - <a class="navbar-brand" href="#">jthan.io</a> - <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation"> - <span class="navbar-toggler-icon"></span> - </button> - - <div class="collapse navbar-collapse" id="navbarColor02"> - <ul class="navbar-nav mr-auto"> - <li class="nav-item active"> - <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a> - </li> - <li class="nav-item"> - <a class="nav-link" href="#">Features</a> - </li> - <li class="nav-item"> - <a class="nav-link" href="#">Pricing</a> - </li> - <li class="nav-item"> - <a class="nav-link" href="#">About</a> - </li> - </ul> - </div> - </div> - </nav>
\ No newline at end of file +{% load navigation_tags %} +{% block menu %} + {% get_site_root as site_root %} + {% top_menu parent=site_root calling_page=self %} +{% endblock %} diff --git a/jthanio/templatetags/custom_tags.py b/jthanio/templatetags/custom_tags.py deleted file mode 100644 index e69de29..0000000 --- a/jthanio/templatetags/custom_tags.py +++ /dev/null |