summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-05-19 16:32:17 -0500
committerDan McGee <dan@archlinux.org>2012-05-19 16:32:17 -0500
commiteef1ee7051093b9f6e74ab5669af8c57983872d9 (patch)
treeacf6dcd01f4a8319a0b0d69ce8a3dbbcd53706fb
parent3f9aeb45c2a2b498a389bacc92b5f56d9feb4329 (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>
-rw-r--r--templates/news/list.html4
-rw-r--r--templates/packages/search.html1
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 %}