Skip to content

Commit

Permalink
Added feeds for tags and categories
Browse files Browse the repository at this point in the history
  • Loading branch information
lgiordani committed Mar 17, 2015
1 parent 0d47386 commit 934d3ef
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,22 @@
<link href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate"
title="{{ SITENAME }} ATOM Feed"/>
{% endif %}

{% if FEED_ALL_RSS %}
<link href="{{ SITEURL }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate"
title="{{ SITENAME }} RSS Feed"/>
{% endif %}

{% if tag and TAG_FEED_ATOM %}
<link href="{{ SITEURL }}/{{ TAG_FEED_ATOM|format(tag.slug) }}" type="application/atom+xml" rel="alternate"
title="{{ SITENAME }} {{ tag }} ATOM Feed"/>
{% endif %}

{% if category and CATEGORY_FEED_ATOM %}
<link href="{{ SITEURL }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate"
title="{{ SITENAME }} {{ category }} ATOM Feed"/>
{% endif %}

</head>
<body>

Expand Down

0 comments on commit 934d3ef

Please sign in to comment.