Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a all posts page #70

Open
westlinkin opened this issue Jan 9, 2015 · 5 comments
Open

Add a all posts page #70

westlinkin opened this issue Jan 9, 2015 · 5 comments

Comments

@westlinkin
Copy link

It should has a all-posts page, which shows all the posts.

@mdo
Copy link
Member

mdo commented Jan 9, 2015

As in an index or archive page like http://markdotto.com?

@westlinkin
Copy link
Author

Yes. Maybe some space between every month's posts.

@ghost
Copy link

ghost commented Apr 24, 2015

I actually put this together from a post where someone else had done it on a Jekyll site.

@Hipomenes
Copy link

Mdo, how can I implement an archive page like the one you posted on the sidebar?

Thanks!

@fredrikaverpil
Copy link

I added an archive to my Hyde-based blog: http://fredrikaverpil.github.io/archive/

The source code is available here, but essentially;

  1. Create archive.md in the root of your website:
---
layout: page
title: Archive
---

{% for post in site.posts %}{{ post.date | date_to_string }} » [ {{ post.title }} ]({{ post.url }})  
{% endfor %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants