Merge pull request #6606 from Simounet/fix/rss-feed-route

This commit is contained in:
Jérémy Benoist 2023-06-12 19:25:20 +02:00 committed by GitHub
commit c4de437105
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,4 +9,6 @@
{% set feed_route = feed_route ~ '_feed' %} {% set feed_route = feed_route ~ '_feed' %}
{% set slug = null %} {% set slug = null %}
{% endif %} {% endif %}
<a rel="alternate" type="application/atom+xml" href="{{ path(feed_route, {'username': app.user.username, 'token': app.user.config.feedToken, 'slug': slug}) }}" class="results-item"><i class="material-icons">rss_feed</i></a> {% if feed_route %}
<a rel="alternate" type="application/atom+xml" href="{{ path(feed_route, {'username': app.user.username, 'token': app.user.config.feedToken, 'slug': slug}) }}" class="results-item"><i class="material-icons">rss_feed</i></a>
{% endif %}