aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-08-26 18:09:20 +0300
committerGravatar Vitaly Takmazov2021-08-26 18:13:20 +0300
commit06d89c8784dd9e8745837cbd3295e3b25ad6b43f (patch)
treec71a74322802aec73f8db01d2edcac862f3d706d /src/main/resources/templates/views
parentf1e7c570346f7d09b08aba3fb490de6f5c2688d6 (diff)
ActivityPub: improve Note layout
add rel=tag on tag links, remove more line breaks
Diffstat (limited to 'src/main/resources/templates/views')
-rw-r--r--src/main/resources/templates/views/macros/tags.html9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/main/resources/templates/views/macros/tags.html b/src/main/resources/templates/views/macros/tags.html
index d1b3fdea..459cedd6 100644
--- a/src/main/resources/templates/views/macros/tags.html
+++ b/src/main/resources/templates/views/macros/tags.html
@@ -1,7 +1,2 @@
-{% macro tags(uname="", tagsList) %}
-{% for tag in tagsList %}<a class="hashtag" href="/{{ uname }}/?tag={{ tag | urlencode }}">{{ tag }}</a>{% endfor %}
-{% endmacro %}
-
-{% macro allTags(baseUri, tagsList) %}
-{% for tag in tagsList %}<a class="hashtag" href="{{ baseUri }}tag/{{ tag | urlencode }}">#{{ tag }}</a>{% endfor %}
-{% endmacro %} \ No newline at end of file
+{% macro tags(uname="", tagsList) %}{% for tag in tagsList %}<a class="hashtag" href="/{{ uname }}/?tag={{ tag | urlencode }}">{{ tag }}</a>{% endfor %}{% endmacro %}
+{% macro allTags(baseUri, tagsList) %}{% for tag in tagsList %}<a class="hashtag" href="{{ baseUri }}tag/{{ tag | urlencode }}" rel="tag">#{{ tag }}</a>{% endfor %}{% endmacro %} \ No newline at end of file