diff --git a/stylesheet.css b/stylesheet.css index b7ab310..8e9b5fd 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -54,3 +54,9 @@ hr { .magicwords { padding-right: 5px; } +.magicwords-publish { + padding-right: 5px; + display: inline; + color: gray; + opacity: 0.8; +} diff --git a/templates/index.html b/templates/index.html index b67db29..29f6550 100644 --- a/templates/index.html +++ b/templates/index.html @@ -54,12 +54,16 @@ - {% for magicword in pad.magicwords %} - {{ magicword }} - {% if magicword %} -
{{ allmagicwords.append(magicword) }}
- {% endif %} - {% endfor %} + {% for magicword in pad.magicwords %} + {% if magicword == "__PUBLISH__" %} +

{{magicword}}

+ {% else %} + {{ magicword }} + {% endif %} + {% if magicword %} +
{{ allmagicwords.append(magicword) }}
+ {% endif %} + {% endfor %}