Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Docpad is picking the wrong layout #227

Closed
dimitarkolev opened this Issue · 2 comments

2 participants

@dimitarkolev

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?

@balupton
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.

@dimitarkolev

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

@balupton balupton closed this issue from a commit
@balupton balupton 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
@balupton balupton closed this in 221d350
@balupton balupton referenced this issue from a commit
@balupton balupton 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.