diff options
author | Vitaly Takmazov | 2018-11-01 14:06:52 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-11-01 14:06:52 +0300 |
commit | b965122cdf4f23c07d169c706f2bf49a0b9b3d08 (patch) | |
tree | b8fe7176e988a6da422e7c4c0bebf70b437b72ae /juick-server/src/main/resources | |
parent | da95cbd0e78fbeb1056f1fbc2bc7005deacd3757 (diff) |
ActivityPub: update tag format
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 |