comparison gpp/templates/home.html @ 549:c4696a0cbd3f

Altered the open graph meta tags tag to generate tags for the home page when None is supplied as a parameter. Updated the home page template to use it.
author Brian Neal <bgneal@gmail.com>
date Sun, 15 Jan 2012 13:27:37 -0600
parents f0f3966ea44f
children
comparison
equal deleted inserted replaced
548:2c281530dc9c 549:c4696a0cbd3f
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load url from future %} 2 {% load url from future %}
3 {% load bulletin_tags %} 3 {% load bulletin_tags %}
4 {% load core_tags %}
4 {% load news_tags %} 5 {% load news_tags %}
5 {% load weblinks_tags %} 6 {% load weblinks_tags %}
6 {% load downloads_tags %} 7 {% load downloads_tags %}
7 {% load poll_tags %} 8 {% load poll_tags %}
8 {% load forum_tags %} 9 {% load forum_tags %}
9 {% load script_tags %} 10 {% load script_tags %}
10 {% load cache %} 11 {% load cache %}
11 {% block title %}Home{% endblock %} 12 {% block title %}Home{% endblock %}
13 {% block custom_meta %}{% open_graph_meta_tags %}{% endblock %}
12 {% block custom_head %} 14 {% block custom_head %}
13 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url 'feeds-news' %}" /> 15 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url 'feeds-news' %}" />
14 {% endblock %} 16 {% endblock %}
15 {% block custom_css %} 17 {% block custom_css %}
16 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/news.css" /> 18 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/news.css" />