Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yieldRegions not observed #255

Open
kernelogic opened this issue Mar 16, 2016 · 3 comments
Open

yieldRegions not observed #255

kernelogic opened this issue Mar 16, 2016 · 3 comments

Comments

@kernelogic
Copy link

I have a default layout that contains two yieldRegions providing header menus and footer contents. However when visiting /blog, these two regions are rendered blank.

@ritchieng
Copy link

+1 @hellogerard

Using iron router here. Thanks in advance!

@hellogerard
Copy link
Contributor

Ah, the blog router does not support IR yield regions currently. I suppose we could add a new Blog configuration to specify regions. What do you think that would look like?

As a workaround, I think you could use simple custom templates that wrap Meteor Blog's templates, and then use the contentFor block or inclusion helpers as in the manual.

@jirikrepl
Copy link

jirikrepl commented Feb 15, 2017

+1 for yield regions and DRY (app/blog) templates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants