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:
24
source/archive.html
Normal file
24
source/archive.html
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
layout: page
|
||||
title: Blog Archive
|
||||
nometa: true
|
||||
---
|
||||
{% for post in site.posts reverse %}
|
||||
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
|
||||
{% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %}
|
||||
{% unless year == this_year %}
|
||||
{% unless forloop.first %}</ul>{% endunless %}
|
||||
{% assign year = this_year %}
|
||||
<h2>{{ year }}</h2>
|
||||
<ul class="blog_archives">
|
||||
{% endunless %}
|
||||
{% unless month == this_month %}
|
||||
{% assign month = this_month %}
|
||||
<li><h4>{{ month }}</h4></li>
|
||||
{% endunless %}
|
||||
<li>
|
||||
<time datetime="{{ post.date | datetime }}" pubdate>{{ post.date | date: "%d"}}</time>
|
||||
<a href="{{ post.url }}">{{post.title}}</a>
|
||||
</li>
|
||||
{% if forloop.last %}</ul>{% endif %}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user