diff options
author | Vitaly Takmazov | 2021-08-26 15:20:42 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2021-08-26 15:20:42 +0300 |
commit | ec5bee8daeea413922ffce2a7ffd750674088618 (patch) | |
tree | bc65baa40660aba8e33a1e210c591edfa97c18c5 /src/main/resources/templates/views | |
parent | 810ea1a4b403bc000dad59da3a86e16854358e2b (diff) |
ActivityPub: reduce newlines in note template to make Mastodon happy
Diffstat (limited to 'src/main/resources/templates/views')
-rw-r--r-- | src/main/resources/templates/views/macros/tags.html | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main/resources/templates/views/macros/tags.html b/src/main/resources/templates/views/macros/tags.html index c52847fc..d1b3fdea 100644 --- a/src/main/resources/templates/views/macros/tags.html +++ b/src/main/resources/templates/views/macros/tags.html @@ -1,11 +1,7 @@ {% macro tags(uname="", tagsList) %} -{% for tag in tagsList %} -<a class="hashtag" href="/{{ uname }}/?tag={{ tag | urlencode }}">{{ tag }}</a> -{% endfor %} +{% 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 %} +{% for tag in tagsList %}<a class="hashtag" href="{{ baseUri }}tag/{{ tag | urlencode }}">#{{ tag }}</a>{% endfor %} {% endmacro %}
\ No newline at end of file |