view gpp/templates/home.html @ 499:1a09a7bea000

For #236, switch to a settings package scheme.
author Brian Neal <bgneal@gmail.com>
date Wed, 30 Nov 2011 02:41:18 +0000
parents f0f3966ea44f
children c4696a0cbd3f
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 script_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 begin_body %}{% include 'core/social_sharing_begin.html' %}{% 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 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 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 %}
{% block end_body %}{% include 'core/social_sharing_end.html' %}{% endblock %}