Add RSS links to /news/ and /packages/ URLs

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>
This commit is contained in:
Dan McGee 2012-05-19 16:32:17 -05:00
parent 3f9aeb45c2
commit eef1ee7051
2 changed files with 5 additions and 0 deletions

View File

@ -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">

View File

@ -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 %}