What if you need to have an index page and a blog for your site?

Thanks guys.

  • The main index of site is handled by /layouts/index.html.
  • The blog layout is handled by /layouts/_default/list.html and contents are grabed from files in /contents/blog/post-*.md.

It has implemented what I was asking for. Please read this comment if you want to have a site with an index and a blog.

Now, the only remained problem: post URLs are lack of date. It was expected for [DOMAIN]/blog/2017/12/post-A.html, but I get: [DOMAIN]/blog/post-A.html.