diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-05-30 00:30:16 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-05-30 00:30:16 -0400 |
commit | 8698a276f937cb1cd6f67f7f213e2ea438500d7e (patch) | |
tree | 3963ed8f9750cd565087ce54fe8de38d9f5c606d /source/_layouts/archive_yearly.html | |
parent | c7d5365f81552cae16bbb91696ca3e67b4a0a2e9 (diff) | |
download | my_new_personal_website-8698a276f937cb1cd6f67f7f213e2ea438500d7e.tar.xz my_new_personal_website-8698a276f937cb1cd6f67f7f213e2ea438500d7e.zip |
Cleaned out public from repository, updated gitignore, added syntax
highlighting tests, improved syntax highlighting and styling of pre
blocks.
Overriding dynamic gist styling.
Added a plugin for pygments caching which should speed things up
terrifically.
added ender.js as a lightweight way of scripting the DOM, events, etc.
Some general typography and semantic html improvements.
Diffstat (limited to 'source/_layouts/archive_yearly.html')
-rw-r--r-- | source/_layouts/archive_yearly.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/source/_layouts/archive_yearly.html b/source/_layouts/archive_yearly.html new file mode 100644 index 00000000..dabebebd --- /dev/null +++ b/source/_layouts/archive_yearly.html @@ -0,0 +1,25 @@ +--- +layout: default +--- +<div id="content"> + <div class="post"> + <h1 class="post-title">{{ page.year }}</h1> + <p class="lead">Posts from the year {{ page.year }}</p> + {% for m in (1..12) reversed %} + {% if page.collated_posts[page.year][m] %} + <h3>{{ m | date_to_month }}</h3> + {% for d in (1..31) reversed %} + {% if page.collated_posts[page.year][m][d] %} + {% for p in page.collated_posts[page.year][m][d] reversed %} + <div> + <strong>{{ p.date | date: "%d" }}</strong> + <a href='{{ p.url }}'>{{ p.title }}</a> + </div> + {% endfor %} + {% endif %} + {% endfor %} + {% endif %} + {% endfor %} + </div> +</div> + |