diff options
Diffstat (limited to 'juick-server/src/main/resources')
-rw-r--r-- | juick-server/src/main/resources/templates/layouts/note.html | 8 | ||||
-rw-r--r-- | juick-server/src/main/resources/templates/views/macros/tags.html | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/juick-server/src/main/resources/templates/layouts/note.html b/juick-server/src/main/resources/templates/layouts/note.html index 57ec667f..42b939c0 100644 --- a/juick-server/src/main/resources/templates/layouts/note.html +++ b/juick-server/src/main/resources/templates/layouts/note.html @@ -1,7 +1,5 @@ {% import "views/macros/tags" %} +<p>{{ msg | formatMessage }}</p> {% if msg.tags.size > 0 %} -<div class="msg-tags"> - {{ allTags(baseUri, msg.tags | tagsList) }} -</div> -{% endif %} -<p>{{ msg | formatMessage }}</p>
\ No newline at end of file +<div class="msg-tags">{{ allTags(baseUri, msg.tags | tagsList) }}</div> +{% endif %}
\ No newline at end of file diff --git a/juick-server/src/main/resources/templates/views/macros/tags.html b/juick-server/src/main/resources/templates/views/macros/tags.html index 1e668292..defed8e6 100644 --- a/juick-server/src/main/resources/templates/views/macros/tags.html +++ b/juick-server/src/main/resources/templates/views/macros/tags.html @@ -6,6 +6,6 @@ {% macro allTags(baseUri, tagsList) %} {% for tag in tagsList %} -<a href="{{ baseUri }}tag/{{ tag | urlencode }}">{{ tag | raw }}</a> +<a href="{{ baseUri }}tag/{{ tag | urlencode }}">#{{ tag | raw }}</a> {% endfor %} {% endmacro %}
\ No newline at end of file |