Mercurial > public > sg101
comparison gpp/templates/news/base.html @ 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 | dbd703f7d63a |
children | b7ac381996e8 |
comparison
equal
deleted
inserted
replaced
170:6f14970b103a | 171:b1766b1bda45 |
---|---|
5 {% block custom_css %} | 5 {% block custom_css %} |
6 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" /> | 6 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" /> |
7 {% block news_css %}{% endblock %} | 7 {% block news_css %}{% endblock %} |
8 {% endblock %} | 8 {% endblock %} |
9 {% block content %} | 9 {% block content %} |
10 <h2>SurfGuitar101 News & Articles</h2> | 10 <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> |
11 {% if search_form %} | 11 {% if search_form %} |
12 <div class="news-search"> | 12 <div class="news-search"> |
13 <form action="{% url news-search_page page=1 %}" method="post"> | 13 <form action="{% url news-search_page page=1 %}" method="post"> |
14 <p>{{ search_form.text }} {{ search_form.category }} <input type="submit" value="Search" /></p> | 14 <p>{{ search_form.text }} {{ search_form.category }} <input type="submit" value="Search" /></p> |
15 </form> | 15 </form> |