{% load i18n dzenlog_tags %} {% block feed_links %} {% call all_feeds_url slug="rss", param="" as feed_url_for_all_posts %} {% if post_comments_feed_url %} {% call post_comments_feed_url slug="rss",param=object.slug as feed_url_for_comments %} {% endif %} {% if all_comments_feed_url %} {% call all_comments_feed_url slug="rss" as feed_url_for_comments %} {% endif %} {% if tags %} {% with tags|length as tags_count %} {% ifnotequal tags_count 1 %} {% endifnotequal %} {% endwith %} {% for tag in tags %} {% endfor %} {% else %} {% call feeds_url slug="rss", param=tags_slug as feed_url_for_type %} {% ifnotequal feed_url_for_type feed_url_for_all_posts %} {% endifnotequal %} {% if object and object.tags %} {% for tag in object.get_tags %} {% ifequal feed_url_for_type feed_url_for_all_posts %} {% else %} {% endifequal %} {% endfor %} {% endif %} {% endif %} {% endblock %}