comparison gpp/templates/home.html @ 32:07da6967fc40

Created a current_news template tag for the home page.
author Brian Neal <bgneal@gmail.com>
date Tue, 05 May 2009 00:56:18 +0000
parents 04377c5bf912
children c018872385ea
comparison
equal deleted inserted replaced
31:5eed5e7c1c98 32:07da6967fc40
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load bulletin_tags %} 2 {% load bulletin_tags %}
3 {% load news_tags %}
3 {% load weblinks_tags %} 4 {% load weblinks_tags %}
4 {% load downloads_tags %} 5 {% load downloads_tags %}
5 {% block title %}Home{% endblock %} 6 {% block title %}Home{% endblock %}
7 {% block custom_css %}
8 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" />
9 {% endblock %}
6 {% block content %} 10 {% block content %}
7 <h2>Welcome to SurfGuitar101!</h2> 11 <h2>Welcome to SurfGuitar101!</h2>
8 <p>You are looking at a test version of the new SurfGuitar101 website, dubbed <strong>SG101 2.0</strong>. 12 <p>You are looking at a test version of the new SurfGuitar101 website, dubbed <strong>SG101 2.0</strong>.
9 All major functionality is here except for the forums (which are still in development). 13 All major functionality is here except for the forums (which are still in development).
10 The purpose of this test site is to test the new site software, to get feedback from the user base, and 14 The purpose of this test site is to test the new site software, to get feedback from the user base, and
16 <p>Remember that this is a test site, and not everything is going to work. Nothing here is 20 <p>Remember that this is a test site, and not everything is going to work. Nothing here is
17 permanent. The site (content, user accounts, etc.) may be wiped at any time while we fix bugs and add features. 21 permanent. The site (content, user accounts, etc.) may be wiped at any time while we fix bugs and add features.
18 Also, I hope that the look and feel of this site can be greatly improved to something really cool! I'll need 22 Also, I hope that the look and feel of this site can be greatly improved to something really cool! I'll need
19 lots of help for this aspect, as I'm more of a coder than a designer.</p> 23 lots of help for this aspect, as I'm more of a coder than a designer.</p>
20 {% current_bulletins %} 24 {% current_bulletins %}
25 {% current_news %}
21 <div class="span-9 append-1"> 26 <div class="span-9 append-1">
22 {% latest_weblinks %} 27 {% latest_weblinks %}
23 </div> 28 </div>
24 <div class="span-9 last"> 29 <div class="span-9 last">
25 {% latest_downloads %} 30 {% latest_downloads %}