Mercurial > public > sg101
view 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 |
line wrap: on
line source
{% extends 'base.html' %} {% load url from future %} {% block custom_head %} <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url 'feeds-news' %}" /> {% endblock %} {% block custom_css %} <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/news.css" /> {% block news_css %}{% endblock %} {% endblock %} {% block content %} <h2>SurfGuitar101 News & Articles <a href="{% url 'feeds-news' %}"><img src="{{ STATIC_URL }}icons/feed.png" alt="News Feed" title="News Feed" /></a></h2> <ul class="app-menu"> <li><a href="{% url 'news-index_page' %}">News Main</a></li> <li><a href="{% url 'news-archive_index' %}">Archive</a></li> <li><a href="{% url 'news-category_index' %}">Categories</a></li> <li><a href="{% url 'news-tag_index' %}">Tags</a></li> <li><a href="{% url 'news-submit' %}">Submit News</a></li> </ul> {% block news_content %} {% endblock %} {% endblock %}