Permalink
Browse files

added sub post structure for ideas and events

  • Loading branch information...
thoward committed Mar 6, 2012
1 parent ff040f8 commit ead52027d3d99980e03f20b1000fbeed4db0ccb9
Showing with 32 additions and 2 deletions.
  1. +9 −0 _includes/event.html
  2. +13 −0 _includes/idea.html
  3. +10 −2 index.html
View
@@ -0,0 +1,9 @@
+<div class="event">
+ {% if item.slug %}<a class="slug" name="{{item.slug}}">{% endif %}
+ {% if item.title %}<h3>{{item.title}}</h3>{% endif %}
+ {% if item.slug %}</a>{% endif %}
+ {% if item.date %}<small class='date'>{{item.date | date:"%b %d %Y"}}</small>{% endif %}
+ <div class="event description">
+ {{item.content}}
+ </div>
+</div>
View
@@ -0,0 +1,13 @@
+<div class="idea">
+ <div class="idea vote">
+ <a href="#" title="up" class="vote up"></a>
+ <a href="#" title="down" class="vote down"></a>
+ </div>
+ {% if item.slug %}<a class="slug" name="{{item.slug}}">{% endif %}
+ {% if item.title %}<h3>{{item.title}}</h3>{% endif %}
+ {% if item.slug %}</a>{% endif %}
+ {% if item.date %}<small class='date'>{{item.date | date:"%b %d %Y"}}</small>{% endif %}
+ <div class="idea description">
+ {{item.content}}
+ </div>
+</div>
View
@@ -9,7 +9,11 @@
<div class="column vote">
<div class="section">
<h2>IDEAS</h2>
- Coming soon...
+ <div class='ideas'>
+ {% for item in site.categories['ideas'] limit:30 %}
+ {% include idea.html %}
+ {% endfor %}
+ </div>
</div>
</div>
<div class="column group">
@@ -66,7 +70,11 @@ <h2>Discussion</h2>
<div class="column create">
<div class="section">
<h2>EVENTS</h2>
- Coming soon...
+ <div class='events'>
+ {% for item in site.categories['events'] limit:30 %}
+ {% include event.html %}
+ {% endfor %}
+ </div>
</div>
</div>
<b class="clear"></b>

0 comments on commit ead5202

Please sign in to comment.