diff options
author | Dan McGee <dan@archlinux.org> | 2012-05-19 16:32:17 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-05-19 16:32:17 -0500 |
commit | eef1ee7051093b9f6e74ab5669af8c57983872d9 (patch) | |
tree | acf6dcd01f4a8319a0b0d69ce8a3dbbcd53706fb /templates | |
parent | 3f9aeb45c2a2b498a389bacc92b5f56d9feb4329 (diff) |
Add RSS links to /news/ and /packages/ URLsrelease_2012-05-20
These were available only from the home page, but it makes sense to
advertise them on the corresponding index pages too.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/news/list.html | 4 | ||||
-rw-r--r-- | templates/packages/search.html | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/news/list.html b/templates/news/list.html index a72a2dda..e85ceced 100644 --- a/templates/news/list.html +++ b/templates/news/list.html @@ -1,6 +1,10 @@ {% extends "base.html" %} {% block title %}Arch Linux - News{% endblock %} +{% block head %} +<link rel="alternate" type="application/rss+xml" title="Arch Linux News Updates" href="/feeds/news/" /> +{% endblock %} + {% block content %} <div id="news-article-list" class="box"> diff --git a/templates/packages/search.html b/templates/packages/search.html index ebd4e6c4..df5c5791 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -8,6 +8,7 @@ {% block head %} {% if is_paginated and page_obj.number > 1 %}<meta name="robots" content="noindex, nofollow"/>{% endif %} <link rel="stylesheet" type="text/css" href="{% static "admin/css/widgets.css" %}" /> +<link rel="alternate" type="application/rss+xml" title="Arch Linux Package Updates" href="/feeds/packages/" /> {% endblock %} {% block content %} |