From 37994f3b4cfe4885f73766aabf813c612f6bb6d8 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sat, 12 Dec 2020 18:23:15 +0100 Subject: [PATCH] Sort and skip inner PUBLISH listing --- templates/index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index d8568cb..b67db29 100644 --- a/templates/index.html +++ b/templates/index.html @@ -94,8 +94,10 @@ - {% for magicword in pad.magicwords %} - {{ magicword }} + {% for magicword in pad.magicwords | sort %} + {% if magicword != "__PUBLISH__" %} + {{ magicword }} + {% endif %} {% endfor %}