sintaxi/harp

How I use a different layout to posts?

Closed this issue · 1 comments

Hi guys, I'm developing my new site using Harp.

For now everything works perfectly. But I have a problem to create the posts.

My blog structure is:

blog/
       2013/
       2014/
       2015/
       2016/
       _layout.jade
       index.jade

My first problem is the index of blog. When I set a layout to posts (in _layout.jade), automatically the index uses it (with Disqs and a blog format).

The other problem is the metadata, I want that the template of posts uses the metadata in _data.json to add title, images and others things.

How I can resolve this?

Thanks!

I resolved! \o