Skip to content

Commit

Permalink
Fill in sidebar for book-reviews with list of all reviews
Browse files Browse the repository at this point in the history
This removes the final radius tag and closes #15
  • Loading branch information
h-lame committed Jan 10, 2015
1 parent bad2c5e commit 7fac736
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions source/book-reviews/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ breadcrumb: Book Reviews
parts:
sidebar:
:content: |
### Reviews by Month
<r:find url="/book-reviews/"><r:children:each order="desc">
<r:header>* [<r:date format="%B %Y" />](<r:date format="/book-reviews/%Y/%m/" />)</r:header>
</r:children:each></r:find>
### All Reviews
<% book_reviews.each.with_index do |review, idx| %>
<%= idx %>. <%= link_to review.data.title, review %>
<% end %>

:filter: .md
updated_at: 2013-02-23 13:58:46 Z
status: Published
Expand Down

0 comments on commit 7fac736

Please sign in to comment.