hyde
hyde copied to clipboard
Add a all posts page
It should has a all-posts page, which shows all the posts.
As in an index or archive page like http://markdotto.com?
Yes. Maybe some space between every month's posts.
I actually put this together from a post where someone else had done it on a Jekyll site.
Mdo, how can I implement an archive page like the one you posted on the sidebar?
Thanks!
I added an archive to my Hyde-based blog: http://fredrikaverpil.github.io/archive/
The source code is available here, but essentially;
- Create
archive.mdin the root of your website:
---
layout: page
title: Archive
---
{% for post in site.posts %}{{ post.date | date_to_string }} » [ {{ post.title }} ]({{ post.url }})
{% endfor %}