diff --git a/template/hide.html b/template/hide.html new file mode 100644 index 0000000..76cdf95 --- /dev/null +++ b/template/hide.html @@ -0,0 +1,28 @@ + diff --git a/template/index.html.njk b/template/index.html.njk index 65b9772..41d7a5c 100644 --- a/template/index.html.njk +++ b/template/index.html.njk @@ -1,37 +1,5 @@ -{% macro unhide_func() %} - -{% endmacro %} - - {% macro render_item(item) %} {% set class_str = "item" %} @@ -84,7 +52,7 @@ - {{ unhide_func() }} + {% include "hide.html" %}