view gpp/templates/podcast/base.html @ 507:8631d32e6b16

Some users are still having problems with the pop-up login. I think they are actually getting 403s because of the CSRF protection. So I have modified the base template to always have a javascript variable called csrf_token available when they aren't logged in. The ajax_login.js script was then modified to send this value with the ajax post. Fingers crossed.
author Brian Neal <bgneal@gmail.com>
date Sun, 04 Dec 2011 03:05:21 +0000
parents 6e425c9b9d16
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 Podcast" href="{% url 'podcast-feed' %}" />
{% endblock %}
{% block content %}
<h2><a href="{% url 'podcast-main' %}">SurfGuitar101 Podcast</a></h2>
<img src="{{ channel.image.url }}" alt="Podcast Logo" style="float: left; margin-right:10px;" />
<p>
Welcome to the <strong>Surfguitar101 Podcast</strong>! The podcast started as an experiment just to see what it took to create a podcast. The reaction was very positive so hopefully we will start seeing new episodes on a semi-regular basis. You can download the podcast episodes here and we are also listed in iTunes.
</p>
<p>
Please discuss the podcasts in our Podcast forum. We'd love to hear your suggestions, and let us know if you would like
to help in any way. We need producers, interviewers, artwork, etc. you name it. Thanks!
</p>
<p>
In addition to the forum, you can contact us by email at 
<a href="mailto:podcast@surfguitar101.com">podcast@surfguitar101.com</a>.
</p>
<p>
<a href="{% url 'podcast-feed' %}"><img src="{{ STATIC_URL }}icons/feed.png" alt="RSS Feed" title="RSS Feed" /></a> <a href="{% url 'podcast-feed' %}">Subscribe to the podcast via RSS</a>.
</p>
<p>
<strong>Hey iTunes users!</strong> Here is our <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=284928526">listing in iTunes</a>. Follow the previous link and then click the subscribe button to let iTunes automatically download episodes for you.
</p>
<br clear="all" />
<hr />
{% block podcast-content %}{% endblock %}
{% endblock %}