view gpp/templates/home.html @ 421:e06e866af4f1

Fixing #207; adding a birthday block.
author Brian Neal <bgneal@gmail.com>
date Thu, 21 Apr 2011 01:47:42 +0000
parents b4f0980506e0
children a8ac4dd3bf03
line wrap: on
line source
{% extends 'base.html' %}
{% load url from future %}
{% load bulletin_tags %}
{% load news_tags %}
{% load weblinks_tags %}
{% load downloads_tags %}
{% load poll_tags %}
{% load forum_tags %}
{% load cache %}
{% block title %}Home{% 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" type="text/css" href="{{ STATIC_URL }}css/news.css" />
{% endblock %}
{% block custom_js %}
<script type="text/javascript">
   $(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">
   <img src="{{ STATIC_URL }}slideshow/image-1.jpg" alt="Slideshow Image 1" />
   <img src="{{ STATIC_URL }}slideshow/image-2.jpg" alt="Slideshow Image 2" />
   <img src="{{ STATIC_URL }}slideshow/image-3.jpg" alt="Slideshow Image 3" />
   <img src="{{ STATIC_URL }}slideshow/image-4.jpg" alt="Slideshow Image 4" />
   <img src="{{ STATIC_URL }}slideshow/image-5.jpg" alt="Slideshow Image 5" />
   </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 phenomena 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 clear="all" />
{% 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 %}