Created
July 14, 2012 15:51
-
-
Save Crhistoph/3111878 to your computer and use it in GitHub Desktop.
Jeyll _layouts/archive.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: default | |
title: archives | |
--- | |
<div class="webblogPost"> | |
<h3>Archive</h3> | |
<div id="weblogPostBody"> | |
{% for month in page.months %} | |
<h4>{{ month | date:"%B" }} <small>{{ month | date:"%Y" }}</small></h4> | |
<ul> | |
{% for post in page.posts_by_month[month] %} | |
<li><a href="{{ post.url }}">{{ post.title }}</a> <small>{{ post.date | date:"%d/%m/%y" }}</small></li> | |
{% endfor %} | |
</ul> | |
</div> | |
</div> | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment