From cb0b81deaa62a2047e80ccfea5d40344183ef7d7 Mon Sep 17 00:00:00 2001 From: Daniel Muckerman Date: Sat, 31 Oct 2020 22:27:20 -0400 Subject: [PATCH] Make navbar a template --- templates/bookmarklet.j2 | 21 +------------------- templates/fragments/navbar.j2 | 36 +++++++++++++++++++++++++++++++++++ templates/list.j2 | 30 +---------------------------- 3 files changed, 38 insertions(+), 49 deletions(-) create mode 100644 templates/fragments/navbar.j2 diff --git a/templates/bookmarklet.j2 b/templates/bookmarklet.j2 index db76cd7..7021355 100644 --- a/templates/bookmarklet.j2 +++ b/templates/bookmarklet.j2 @@ -7,26 +7,7 @@ {% endblock %} {% block navbar %} - + {% include "fragments/navbar.j2" %} {% endblock %} {% block content %} diff --git a/templates/fragments/navbar.j2 b/templates/fragments/navbar.j2 new file mode 100644 index 0000000..de30d14 --- /dev/null +++ b/templates/fragments/navbar.j2 @@ -0,0 +1,36 @@ + \ No newline at end of file diff --git a/templates/list.j2 b/templates/list.j2 index de5d846..3a1b048 100644 --- a/templates/list.j2 +++ b/templates/list.j2 @@ -7,35 +7,7 @@ {% endblock %} {% block navbar %} - + {% include "fragments/navbar.j2" %} {% endblock %} {% block content %}