Sort and skip inner PUBLISH listing

This commit is contained in:
Luke Murphy 2020-12-12 18:23:15 +01:00
parent bfd0425dd9
commit 37994f3b4c
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

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