view gpp/templates/home.html @ 159:416353def4ca

Added a new posts template tag for the home page.
author Brian Neal <bgneal@gmail.com>
date Sun, 20 Dec 2009 20:42:19 +0000
parents e249b5f9d180
children 8acf5be27f18
line wrap: on
line source
{% extends 'base.html' %}
{% load bulletin_tags %}
{% load news_tags %}
{% load weblinks_tags %}
{% load downloads_tags %}
{% load forum_tags %}
{% load cache %}
{% block title %}Home{% endblock %}
{% block custom_css %}
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" />
{% endblock %}
{% block custom_js %}
<script type="text/javascript" src="{{ MEDIA_URL }}js/slideshow.js"></script>
{% endblock %}
{% block content %}
<h2>Welcome to SurfGuitar101!</h2>
<div class="span-9">
   <div id="slideshow">
   <img src="{{ MEDIA_URL }}slideshow/image-1.jpg" alt="Slideshow Image 1" class="active" />
   <img src="{{ MEDIA_URL }}slideshow/image-2.jpg" alt="Slideshow Image 2" />
   <img src="{{ MEDIA_URL }}slideshow/image-3.jpg" alt="Slideshow Image 3" />
   <img src="{{ MEDIA_URL }}slideshow/image-4.jpg" alt="Slideshow Image 4" />
   <img src="{{ MEDIA_URL }}slideshow/image-5.jpg" alt="Slideshow Image 5" />
   </div>
</div>
<div class="span-10 last">
<p>You are looking at a test version of the new SurfGuitar101 website, dubbed <strong>SG101 2.0</strong>. 
All major functionality is here except for the forums (which are still in development). 
The purpose of this test site is to test the new site software, to get feedback from the user base, and 
to develop a better theme (colors, logos, layout, etc.) for the site. All bugs and feature requests are being tracked at 
<a href="http://code.surfguitar101.com">code.surfguitar101.com</a>. Existing SG101 members are encouraged
to sign up here and give the new site a test drive. Any and all feedback is appreciated! Thank you for
helping to make this site be the best home on the web for fans and friends of surf music!
</p>
</div>
<p>Remember that this is a test site, and not everything is going to work. Nothing here is
permanent. The site (content, user accounts, etc.) may be wiped at any time while we fix bugs and add features. 
Also, I hope that the look and feel of this site can be greatly improved to something really cool! I'll need
lots of help for this aspect, as I'm more of a coder than a designer.</p>
{% cache 3600 home_bulletins %}
   {% current_bulletins %}
{% endcache %}
{% new_posts %}
{% cache 3600 home_news %}
   {% current_news %}
{% endcache %}
{% cache 3600 home_new_stuff %}
<div class="span-9 append-1">
   {% latest_weblinks %} 
</div>
<div class="span-9 last">
   {% latest_downloads %} 
</div>
{% endcache %}
{% endblock %}