view sg101/templates/home.html @ 946:87fda1bb8d38

New celery options for Django 1.7.7 upgrade.
author Brian Neal <bgneal@gmail.com>
date Sat, 16 May 2015 14:26:34 -0500
parents d84aaf239182
children 02ae9a4a846a
line wrap: on
line source
{% extends 'base.html' %}
{% load bulletin_tags %}
{% load core_tags %}
{% load news_tags %}
{% load weblinks_tags %}
{% load downloads_tags %}
{% load poll_tags %}
{% load forum_tags %}
{% load script_tags %}
{% load cache %}
{% block title %}Home{% endblock %}
{% block custom_meta %}{% open_graph_meta_tags %}{% endblock %}
{% block custom_head %}
<link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url 'feeds-news' %}" />
{% endblock %}
{% block custom_css %}
<link rel="stylesheet" href="{{ STATIC_URL }}css/news.css" />
{% endblock %}
{% block custom_js %}
<script>
   $(document).ready(function() {
      $('#home-slideshow img:first').fadeIn(1000, function() {
         $('#home-slideshow').cycle({
            fx: 'fade',
            timeout: 5000,
            pause: 1,
            delay: 1000
         });
      });
   });
</script>
<style type="text/css">
#home-slideshow img { display: none }
</style>
{% endblock %}
{% block content %}
<h2>Welcome to SurfGuitar101!</h2>
<div class="span-9">
   <div id="home-slideshow">
   {% cache 600 home_slideshow %}
      {% slideshow_images %}
   {% endcache %}
   </div>
</div>
<div class="span-10 last">
<p>
<strong>Welcome to the all new SurfGuitar101.com!</strong> We've rewritten the site software and have a new design! We hope you like the new site and features; please leave feedback in our forums.
</p>
<p>Since February 26, 2006, SurfGuitar101.com has been the premier home on the web for friends and fans of the world-wide phenomenon known as surf music! Created in Southern California in the early 1960's, surf music is very much alive today and has spread around the globe. Join us in our forums to discuss surf music, past and present. Meet new friends and discover new bands. Want to play surf music? We have lots of forums devoted to playing, performing, and writing surf music. We have lots of discussions on gear: guitars, amps, and drums. Check out our podcasts and hear some really great tunes! Finally, we feature news and articles on the surf scene, and you'll always know where you can catch some live surf music!
</p>
</div>
<br class="clear" />
{% cache 3600 home_bulletins %}
   {% current_bulletins %}
{% endcache %}
{% new_posts %}
{% cache 3600 home_news %}
   {% current_news %}
{% endcache %}
{% cache 3600 home_new_stuff %}
{% latest_poll %}
<div class="span-9 append-1">
   {% latest_weblinks %} 
</div>
<div class="span-9 last">
   {% latest_downloads %} 
</div>
{% endcache %}
{% endblock %}