Browse Source

Include __PUBLISH__ but also not clickable

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

4
templates/index.html

@ -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 %}

Loading…
Cancel
Save