Browse Source

Sort and skip inner PUBLISH listing

main
Luke Murphy 3 years ago
parent
commit
37994f3b4c
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 6
      templates/index.html

6
templates/index.html

@ -94,8 +94,10 @@
</td>
<!-- WOW -->
<td class="magicwords">
{% for magicword in pad.magicwords %}
<a class="magicwords" href="#{{ magicword }}">{{ magicword }}</a>
{% for magicword in pad.magicwords | sort %}
{% if magicword != "__PUBLISH__" %}
<a class="magicwords" href="#{{ magicword }}">{{ magicword }}</a>
{% endif %}
{% endfor %}
</td>
</tr>

Loading…
Cancel
Save