view gpp/templates/news/base.html @ 479:32cec6cd8808

Refactor RateLimiter so that if Redis is not running, everything still runs normally (minus the rate limiting protection). My assumption that creating a Redis connection would throw an exception if Redis wasn't running was wrong. The exceptions actually occur when you issue a command. This is for #224.
author Brian Neal <bgneal@gmail.com>
date Sun, 25 Sep 2011 00:49:05 +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 &amp; 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 %}