summaryrefslogtreecommitdiff
path: root/jthanio
diff options
context:
space:
mode:
authorJonathan DeMasi <jrdemasi@gmail.com>2020-03-08 15:12:01 -0600
committerJonathan DeMasi <jrdemasi@gmail.com>2020-03-08 15:12:01 -0600
commit12af89cb5d418cc63587a454ed1d461da26fd36a (patch)
tree618a232f0b6587791368ca67932f1ac15c9c835e /jthanio
parent74ff789b5c6625804124971b5045f7cae49ff238 (diff)
downloadjthanio-12af89cb5d418cc63587a454ed1d461da26fd36a.tar
jthanio-12af89cb5d418cc63587a454ed1d461da26fd36a.tar.gz
jthanio-12af89cb5d418cc63587a454ed1d461da26fd36a.tar.bz2
jthanio-12af89cb5d418cc63587a454ed1d461da26fd36a.tar.lz
jthanio-12af89cb5d418cc63587a454ed1d461da26fd36a.tar.xz
jthanio-12af89cb5d418cc63587a454ed1d461da26fd36a.tar.zst
jthanio-12af89cb5d418cc63587a454ed1d461da26fd36a.zip
navigation working
Diffstat (limited to 'jthanio')
-rw-r--r--jthanio/templates/base.html1
-rw-r--r--jthanio/templates/navigation.html30
-rw-r--r--jthanio/templatetags/custom_tags.py0
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