{{ content }} vs. {{ page.content }} template processing #553

PhilReinhold opened this Issue May 12, 2012 · 1 comment


None yet
4 participants

I had quite a bit of frustration getting template data rendered in my index.html page. Templates were being processed in my _layouts/default.html, but templates in index.html (which uses the default layout) were not being processed, but exported literally. Changing {{page.content}} to {{content}} in default.html fixed this. Not sure if this is a bug or the expected behavior, but quite confusing nonetheless.

its really confusing. see this comment which kind of explains it: mojombo#430 (comment)

@parkr parkr closed this Mar 17, 2013

@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.