mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
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.
This commit is contained in:
25
source/_layouts/archive_yearly.html
Normal file
25
source/_layouts/archive_yearly.html
Normal file
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user