feeds.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {% if FEED_ALL_ATOM %}
  2. <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME|striptags }} - Full Atom Feed" />
  3. {% endif %}
  4. {% if FEED_ALL_RSS %}
  5. <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME|striptags }} - Full RSS Feed" />
  6. {% endif %}
  7. {% if FEED_ATOM %}
  8. <link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME|striptags }} - Atom Feed" />
  9. {% endif %}
  10. {% if FEED_RSS %}
  11. <link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME|striptags }} - RSS Feed" />
  12. {% endif %}
  13. {% if CATEGORY_FEED_ATOM %}
  14. {% for category in categories %}
  15. {% set cat_name = category[0]|replace(' ', '-') %}
  16. <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(cat_name) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME|striptags }} - {{category[0]}} Category Atom Feed" />
  17. {% endfor %}
  18. {% endif %}
  19. {% if CATEGORY_FEED_RSS %}
  20. {% for category in categories %}
  21. {% set cat_name = category[0]|replace(' ', '-') %}
  22. <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(cat_name) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME|striptags }} - {{category[0]}} Category RSS Feed" />
  23. {% endfor %}
  24. {% endif %}
  25. {% if TAG_FEED_ATOM %}
  26. {% for tag in tags %}
  27. {% set tag_name = tag[0]|replace(' ', '-') %}
  28. <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(tag_name) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME|striptags }} - {{tag[0]}} Tag Atom Feed" />
  29. {% endfor %}
  30. {% endif %}
  31. {% if TAG_FEED_RSS %}
  32. {% for tag in tags %}
  33. {% set tag_name = tag[0]|replace(' ', '-') %}
  34. <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(tag_name) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME|striptags }} - {{tag[0]}} Tag RSS Feed" />
  35. {% endfor %}
  36. {% endif %}