annotate gpp/templates/news/base.html @ 467:b910cc1460c8

Add the ability to conditionally add model instances to the search index on update. This is not perfect, as some instances should be deleted from the index if they are updated such that they should not be in the index anymore. Will think about and address that later.
author Brian Neal <bgneal@gmail.com>
date Sun, 24 Jul 2011 18:12:20 +0000
parents 88b2b9cb8c1f
children
rev   line source
gremmie@1 1 {% extends 'base.html' %}
bgneal@310 2 {% load url from future %}
gremmie@1 3 {% block custom_head %}
bgneal@310 4 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url 'feeds-news' %}" />
gremmie@1 5 {% endblock %}
gremmie@1 6 {% block custom_css %}
bgneal@312 7 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/news.css" />
gremmie@1 8 {% block news_css %}{% endblock %}
gremmie@1 9 {% endblock %}
gremmie@1 10 {% block content %}
bgneal@312 11 <h2>SurfGuitar101 News &amp; Articles <a href="{% url 'feeds-news' %}"><img src="{{ STATIC_URL }}icons/feed.png" alt="News Feed" title="News Feed" /></a></h2>
bgneal@240 12
gremmie@1 13 <ul class="app-menu">
bgneal@310 14 <li><a href="{% url 'news-index_page' %}">News Main</a></li>
bgneal@310 15 <li><a href="{% url 'news-archive_index' %}">Archive</a></li>
bgneal@310 16 <li><a href="{% url 'news-category_index' %}">Categories</a></li>
bgneal@310 17 <li><a href="{% url 'news-tag_index' %}">Tags</a></li>
bgneal@310 18 <li><a href="{% url 'news-submit' %}">Submit News</a></li>
gremmie@1 19 </ul>
gremmie@1 20 {% block news_content %}
gremmie@1 21 {% endblock %}
gremmie@1 22 {% endblock %}