From 835d08df410c370b12c89e08aea6f2b50b9bad39 Mon Sep 17 00:00:00 2001 From: Carlos Oliveira Date: Fri, 4 Sep 2015 16:37:42 -0300 Subject: [PATCH] Overrode plugin menu template --- src/colab_spb_theme/templates/plugins/menu_template.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+), 0 deletions(-) create mode 100644 src/colab_spb_theme/templates/plugins/menu_template.html diff --git a/src/colab_spb_theme/templates/plugins/menu_template.html b/src/colab_spb_theme/templates/plugins/menu_template.html new file mode 100644 index 0000000..eb739f2 --- /dev/null +++ b/src/colab_spb_theme/templates/plugins/menu_template.html @@ -0,0 +1,18 @@ +{% for title, links in menu_links.items %} + {% if links|length == 1 %} + {% for colab_url in links %} +
  • + {{ title }} +
  • + {% endfor %} + {% else %} + + {% endif %} +{% endfor %} -- libgit2 0.21.2