mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
added a theme
This commit is contained in:
@ -1,18 +1,8 @@
|
||||
---
|
||||
layout: page
|
||||
title: Blog Archive
|
||||
footer: false
|
||||
layout: default
|
||||
title: Blog Archives
|
||||
---
|
||||
|
||||
<div id="blog-archives">
|
||||
{% for post in site.posts reverse %}
|
||||
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
|
||||
{% unless year == this_year %}
|
||||
{% assign year = this_year %}
|
||||
<h2>{{ year }}</h2>
|
||||
{% endunless %}
|
||||
<article>
|
||||
{% include archive_post.html %}
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% include archive_post.html %}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user