Browse Source

Make __PUBLISH__ not clickable

main
decentral1se 1 year ago
parent
commit
4c61b707dd
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 6
      stylesheet.css
  2. 16
      templates/index.html

6
stylesheet.css

@ -54,3 +54,9 @@ hr {
.magicwords {
padding-right: 5px;
}
.magicwords-publish {
padding-right: 5px;
display: inline;
color: gray;
opacity: 0.8;
}

16
templates/index.html

@ -54,12 +54,16 @@
<!-- WOW -->
<td class="magicwords">
{% for magicword in pad.magicwords %}
<a class="magicwords" href="#{{ magicword }}">{{ magicword }}</a>
{% if magicword %}
<div style="display:none;">{{ allmagicwords.append(magicword) }}</div>
{% endif %}
{% endfor %}
{% for magicword in pad.magicwords %}
{% if magicword == "__PUBLISH__" %}
<p class="magicwords-publish">{{magicword}}</p>
{% else %}
<a class="magicwords" href="#{{ magicword }}">{{ magicword }}</a>
{% endif %}
{% if magicword %}
<div style="display:none;">{{ allmagicwords.append(magicword) }}</div>
{% endif %}
{% endfor %}
</td>
<!--<td class="lastedited">{{ pad.lastedited_iso|datetimeformat }}</td>-->
<!--<td class="revisions">{{ pad.revisions }}</td>-->

Loading…
Cancel
Save