comparison gpp/templates/news/base.html @ 176:b7ac381996e8

Implement ticket #59; update RSS feeds for Django 1.2.
author Brian Neal <bgneal@gmail.com>
date Thu, 11 Mar 2010 02:34:07 +0000
parents b1766b1bda45
children 6a5549c2efb5
comparison
equal deleted inserted replaced
175:776028f4bced 176:b7ac381996e8
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% block custom_head %} 2 {% block custom_head %}
3 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url feeds-news url="news" %}" /> 3 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url feeds-news %}" />
4 {% endblock %} 4 {% endblock %}
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 &amp; Articles <a href="{% url feeds-news url="news" %}"><img src="{{ MEDIA_URL }}icons/feed.png" alt="News Feed" title="News Feed" /></a></h2> 10 <h2>SurfGuitar101 News &amp; Articles <a href="{% url feeds-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>