Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add links to sidebar
  • Loading branch information
ingydotnet committed Dec 9, 2014
1 parent 465e5d5 commit 445ece4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion template/home.html
@@ -1,6 +1,6 @@
[% USE dumper %]
[% WRAPPER 'layout.html' post=$post %]
[% max = 7; count = 0 %]
[% max = 20; count = 0 %]
[% FOREACH post_ IN nodes %]
[% IF post_.type == 'post' %]
[% PROCESS 'post.html' %]
Expand Down
9 changes: 9 additions & 0 deletions template/sidebar.html
Expand Up @@ -4,6 +4,15 @@ <h4>About</h4>
<p>This site has the latest info about the progress of the TPF grant for Inline.pm</p>
</div>
<div class="sidebar-module">
<h4>Posts</h4>
<ol class="list-unstyled">
[% FOREACH post_ IN nodes %]
[% IF post_.type == 'post' %]
<li><a href="/page/[%post_.link%].html">[%post_.title%]</a></li>
[% END %]
[% END %]
</ol>
</div>
<!--
<h4>Archives</h4>
<ol class="list-unstyled">
Expand Down

0 comments on commit 445ece4

Please sign in to comment.