feeds_categories.html 666 B

1234567891011121314
  1. {% if CATEGORY_FEED_ATOM %}
  2. {% for category in categories %}
  3. {% set cat_name = category[0].slug %}
  4. <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(cat_name) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME|striptags }} - {{category[0]}} Category Atom Feed" />
  5. {% endfor %}
  6. {% endif %}
  7. {% if CATEGORY_FEED_RSS %}
  8. {% for category in categories %}
  9. {% set cat_name = category[0].slug %}
  10. <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(cat_name) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME|striptags }} - {{category[0]}} Category RSS Feed" />
  11. {% endfor %}
  12. {% endif %}