compute the menu recursively; put it between title and content
[web.git] / blog / index.html
1 ---
2 layout: default
3 ---
4
5 <div class="home">
6
7   <h1 class="page-heading">Posts</h1>
8
9   <ul class="post-list">
10     {% for post in site.posts %}
11       <li>
12         <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
13
14         <h2>
15           <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
16         </h2>
17       </li>
18     {% endfor %}
19   </ul>
20
21   <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
22
23 </div>