mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-23 21:51:57 +01:00
Fix RSS feed_route not set
This commit is contained in:
parent
0482d59c30
commit
fe740f4a69
@ -9,4 +9,6 @@
|
||||
{% set feed_route = feed_route ~ '_feed' %}
|
||||
{% set slug = null %}
|
||||
{% 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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user