Skip to content

Commit

Permalink
add archives page and about page
Browse files Browse the repository at this point in the history
  • Loading branch information
yang-wei committed Nov 4, 2014
1 parent f90708e commit e8331e2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source/about/index.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: page
title: "about"
date: 2014-02-18 16:28
comments:
sharing: true
footer: true
---

I'm still finding myself.
17 changes: 17 additions & 0 deletions source/archives/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
layout: page
title: Blog Archive
---

<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>

0 comments on commit e8331e2

Please sign in to comment.