Skip to content
Browse files

added sub post structure for ideas and events

  • Loading branch information...
1 parent ff040f8 commit ead52027d3d99980e03f20b1000fbeed4db0ccb9 @thoward thoward committed
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
9 _includes/event.html
@@ -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
13 _includes/idea.html
@@ -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
12 index.html
@@ -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 @@
<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.
Something went wrong with that request. Please try again.