Skip to content
This repository

Docpad is picking the wrong layout #227

Closed
dimitarkolev opened this Issue May 23, 2012 · 2 comments

2 participants

Dimitar Kolev-Dick Benjamin Arthur Lupton
Dimitar Kolev-Dick

I have tree layouts called project.html.eco project-full.html.eco and project-3d.html.eco i have some documetns that point to some of them. I found out that documents with layout projet are rendered with project-full layout (it was fine few weeks ago). Are there any name constraints or something else that may confuse docpad?

Benjamin Arthur Lupton
Owner

Blast. We now use $startsWith instead of doing an exact match as of DocPad 5.2.3, which is what would be causing it.

I'll see what I can do. For the meantime, you can change layout: project to layout: project.html.eco and that should do the trick.

Dimitar Kolev-Dick

This time I am not in hurry i will wait for the fix.

Benjamin Arthur Lupton balupton closed this issue from a commit May 24, 2012
Benjamin Arthur Lupton v5.2.5. Fixed layout selection when two layout's share similar names.…
… Closes #227

- v5.2.5 May 18, 2012
	- Fixed layout selection when two layout's share similar names -
Closes [#227](#227)
221d350
Benjamin Arthur Lupton balupton closed this in 221d350 May 24, 2012
Benjamin Arthur Lupton balupton referenced this issue from a commit May 24, 2012
Benjamin Arthur Lupton v5.2.5. Fixed layout selection when two layout's share similar names.…
… Closes #227

- v5.2.5 May 18, 2012
	- Fixed layout selection when two layout's share similar names -
Closes [#227](#227)
f6e2a65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.