jnordberg/wintersmith

Any example without paginator stuff?

ibc opened this issue · 1 comments

ibc commented

Sure I'm missing something. I just have some markdown files in content dir:

content/
    index.md
    api.md
    about.md

templates/
    layout.jade

All the .md files have metadata with template: layout.jade. Now, what should I place in layout.jade so the content of each .md file (once converted to HTML) is inserted into a specific div.content section of the template?

For those who don't know Jade (yet) the example/skeleton generated by wintersmith new foo is too hard to understand.

ibc commented

I think I was looking for the page variable which AFAIU represents the content page being rendered.

I assume this is more a Jade specific question so I should not be asking here. Sorry.