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:
parent
3f9aeb45c2
commit
eef1ee7051
@ -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">
|
||||
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user