Include __PUBLISH__ but also not clickable

This commit is contained in:
Luke Murphy 2020-12-12 18:34:21 +01:00
parent 804117adde
commit 7e166ab396
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -99,7 +99,9 @@
<!-- WOW -->
<td class="magicwords">
{% for magicword in pad.magicwords | sort %}
{% if magicword != "__PUBLISH__" %}
{% if magicword == "__PUBLISH__" %}
<p class="magicwords-publish">{{magicword}}</p>
{% else %}
<a class="magicwords" href="#{{ magicword }}">{{ magicword }}</a>
{% endif %}
{% endfor %}