Skip to content

Commit

Permalink
archive
Browse files Browse the repository at this point in the history
  • Loading branch information
TheZ3ro committed Jan 28, 2017
1 parent 52bc9f8 commit 164dd97
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _sass/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@
}
}

.archive > .post-list > li {
margin-bottom: 0;
}

.post-meta {
font-size: $small-font-size;
color: $grey-color;
Expand Down
11 changes: 11 additions & 0 deletions archive.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,14 @@ layout: page
title: Archive
permalink: /archive/
---

<div class="archive">
<ul class="post-list">
{% for post in site.posts %}
<li>
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
</li>
{% endfor %}
</ul>
</div>

0 comments on commit 164dd97

Please sign in to comment.