aboutsummaryrefslogtreecommitdiff
path: root/source/_layouts/archive_monthly.html
diff options
context:
space:
mode:
Diffstat (limited to 'source/_layouts/archive_monthly.html')
-rw-r--r--source/_layouts/archive_monthly.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/source/_layouts/archive_monthly.html b/source/_layouts/archive_monthly.html
new file mode 100644
index 00000000..85ada6d8
--- /dev/null
+++ b/source/_layouts/archive_monthly.html
@@ -0,0 +1,19 @@
+---
+layout: default
+---
+<div id="content">
+ <div class="post">
+ <h1 class="post-title">{{ page.month | date_to_month }} {{ page.year }}</h1>
+ <p class="lead">Posts from {{ page.month | date_to_month }}, {{ page.year }}</p>
+ <ul>
+ {% for d in (1..31) reversed %}
+ {% if page.collated_posts[page.year][page.month][d] %}
+ {% for p in page.collated_posts[page.year][page.month][d] reversed %}
+ <li><a href='{{ p.url }}'>{{ p.title }}</a></li>
+ {% endfor %}
+ {% endif %}
+ {% endfor %}
+ </ul>
+ </div>
+</div>
+