annotate 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
rev   line source
bgneal@19 1 {% extends 'base.html' %}
bgneal@28 2 {% load bulletin_tags %}
bgneal@32 3 {% load news_tags %}
bgneal@20 4 {% load weblinks_tags %}
bgneal@23 5 {% load downloads_tags %}
bgneal@159 6 {% load forum_tags %}
bgneal@43 7 {% load cache %}
bgneal@19 8 {% block title %}Home{% endblock %}
bgneal@32 9 {% block custom_css %}
bgneal@32 10 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" />
bgneal@32 11 {% endblock %}
bgneal@33 12 {% block custom_js %}
bgneal@33 13 <script type="text/javascript" src="{{ MEDIA_URL }}js/slideshow.js"></script>
bgneal@33 14 {% endblock %}
bgneal@19 15 {% block content %}
bgneal@19 16 <h2>Welcome to SurfGuitar101!</h2>
bgneal@33 17 <div class="span-9">
bgneal@33 18 <div id="slideshow">
bgneal@33 19 <img src="{{ MEDIA_URL }}slideshow/image-1.jpg" alt="Slideshow Image 1" class="active" />
bgneal@33 20 <img src="{{ MEDIA_URL }}slideshow/image-2.jpg" alt="Slideshow Image 2" />
bgneal@33 21 <img src="{{ MEDIA_URL }}slideshow/image-3.jpg" alt="Slideshow Image 3" />
bgneal@33 22 <img src="{{ MEDIA_URL }}slideshow/image-4.jpg" alt="Slideshow Image 4" />
bgneal@33 23 <img src="{{ MEDIA_URL }}slideshow/image-5.jpg" alt="Slideshow Image 5" />
bgneal@33 24 </div>
bgneal@33 25 </div>
bgneal@33 26 <div class="span-10 last">
bgneal@19 27 <p>You are looking at a test version of the new SurfGuitar101 website, dubbed <strong>SG101 2.0</strong>.
bgneal@19 28 All major functionality is here except for the forums (which are still in development).
bgneal@19 29 The purpose of this test site is to test the new site software, to get feedback from the user base, and
bgneal@19 30 to develop a better theme (colors, logos, layout, etc.) for the site. All bugs and feature requests are being tracked at
bgneal@19 31 <a href="http://code.surfguitar101.com">code.surfguitar101.com</a>. Existing SG101 members are encouraged
bgneal@19 32 to sign up here and give the new site a test drive. Any and all feedback is appreciated! Thank you for
bgneal@19 33 helping to make this site be the best home on the web for fans and friends of surf music!
bgneal@19 34 </p>
bgneal@33 35 </div>
bgneal@19 36 <p>Remember that this is a test site, and not everything is going to work. Nothing here is
bgneal@19 37 permanent. The site (content, user accounts, etc.) may be wiped at any time while we fix bugs and add features.
bgneal@19 38 Also, I hope that the look and feel of this site can be greatly improved to something really cool! I'll need
bgneal@19 39 lots of help for this aspect, as I'm more of a coder than a designer.</p>
bgneal@54 40 {% cache 3600 home_bulletins %}
bgneal@54 41 {% current_bulletins %}
bgneal@54 42 {% endcache %}
bgneal@159 43 {% new_posts %}
bgneal@54 44 {% cache 3600 home_news %}
bgneal@54 45 {% current_news %}
bgneal@54 46 {% endcache %}
bgneal@54 47 {% cache 3600 home_new_stuff %}
bgneal@23 48 <div class="span-9 append-1">
bgneal@20 49 {% latest_weblinks %}
bgneal@19 50 </div>
bgneal@23 51 <div class="span-9 last">
bgneal@23 52 {% latest_downloads %}
bgneal@19 53 </div>
bgneal@43 54 {% endcache %}
bgneal@19 55 {% endblock %}