aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-08-22 08:31:49 +0300
committerGravatar Vitaly Takmazov2021-08-22 08:31:49 +0300
commiteb93d08061e2220af8036aea00cf163204953059 (patch)
treea70dce02fe415b663fa824b8bd59351d010498f9 /src/main/resources/templates
parent21010f01250e6bf9a3247e4922f88f13568fc959 (diff)
ActivityPub: make Mastodon happy with hashtags
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r--src/main/resources/templates/views/macros/tags.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/templates/views/macros/tags.html b/src/main/resources/templates/views/macros/tags.html
index 08687f5a..c52847fc 100644
--- a/src/main/resources/templates/views/macros/tags.html
+++ b/src/main/resources/templates/views/macros/tags.html
@@ -1,11 +1,11 @@
{% macro tags(uname="", tagsList) %}
{% for tag in tagsList %}
-<a href="/{{ uname }}/?tag={{ tag | urlencode }}">{{ tag }}</a>
+<a class="hashtag" href="/{{ uname }}/?tag={{ tag | urlencode }}">{{ tag }}</a>
{% endfor %}
{% endmacro %}
{% macro allTags(baseUri, tagsList) %}
{% for tag in tagsList %}
-<a href="{{ baseUri }}tag/{{ tag | urlencode }}">#{{ tag }}</a>
+<a class="hashtag" href="{{ baseUri }}tag/{{ tag | urlencode }}">#{{ tag }}</a>
{% endfor %}
{% endmacro %} \ No newline at end of file