Add a link to RSS feed.

This commit is contained in:
Víðir Valberg Guðmundsson 2019-03-12 10:27:09 +01:00
parent 92a5f67ae3
commit 8b45c4629d
2 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,6 @@
{% extends 'base.html' %}
{% load commonmark %}
{% load static %}
{% block title %}
News | {{ block.super }}
@ -8,6 +9,12 @@ News | {{ block.super }}
{% block content %}
{% if request.resolver_match.kwargs.archived %}
<i>Showing archived news items. <a href="{% url 'news:index' archived=False %}">Show regular news items</a></i>
{% else %}
<br />
<a href="{% url 'news:feed' %}" class="btn btn-default">
<img src="{% static 'img/feed-icon-14x14.png' %}"> Get BornHack news as a RSS feed
</a>
<hr />
{% endif %}
{% for item in news_items %}
<div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B