Mercurial > public > sg101
changeset 171:b1766b1bda45
Add rss news feed link on home page. Add rss news feed image and link on news home.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 12 Feb 2010 04:24:47 +0000 |
parents | 6f14970b103a |
children | 0fa78ef80356 |
files | gpp/templates/home.html gpp/templates/news/base.html |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gpp/templates/home.html Thu Feb 11 02:29:03 2010 +0000 +++ b/gpp/templates/home.html Fri Feb 12 04:24:47 2010 +0000 @@ -7,6 +7,9 @@ {% load forum_tags %} {% load cache %} {% block title %}Home{% endblock %} +{% block custom_head %} +<link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url feeds-news url="news" %}" /> +{% endblock %} {% block custom_css %} <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" /> {% endblock %}
--- a/gpp/templates/news/base.html Thu Feb 11 02:29:03 2010 +0000 +++ b/gpp/templates/news/base.html Fri Feb 12 04:24:47 2010 +0000 @@ -7,7 +7,7 @@ {% block news_css %}{% endblock %} {% endblock %} {% block content %} -<h2>SurfGuitar101 News & Articles</h2> +<h2>SurfGuitar101 News & Articles <a href="{% url feeds-news url="news" %}"><img src="{{ MEDIA_URL }}icons/feed.png" alt="News Feed" title="News Feed" /></a></h2> {% if search_form %} <div class="news-search"> <form action="{% url news-search_page page=1 %}" method="post">