Skip to content
This repository has been archived by the owner on Nov 20, 2022. It is now read-only.

structurepage fallpage to current page #7

Closed
jenstornell opened this issue Jun 21, 2017 · 6 comments
Closed

structurepage fallpage to current page #7

jenstornell opened this issue Jun 21, 2017 · 6 comments

Comments

@jenstornell
Copy link

I was surpriced that I needed to add structurepage to my blueprint. It's not very flexible if I want to use the blueprint for more than one page and I want the structure field on the same page.

My suggestion, fallback to the current page if structurepage is missing.

@calebgrove
Copy link
Owner

@jenstornell I fully agree. When I get around to #6, I'll implement this.

@colourmafia
Copy link

I agree! Any idea of when this may be done? Great plugin otherwise, but this stops me from being able to use it!

@calebgrove
Copy link
Owner

Thanks @colourmafia. I'll try to get a small update out this weekend with this change.

@colourmafia
Copy link

Just saw this - will keep my eyes peeled!

calebgrove added a commit that referenced this issue Jul 24, 2017
If $structructurepage is either empty or undefined, fallback to using the current $page. See #7
@calebgrove
Copy link
Owner

Alright, as of v1.2.0, if structurepage either doesn't exist in the blueprint, or is left valueless (blank), we will fall back to using the current page. :)

@colourmafia
Copy link

Thanks so much @calebgrove - tested and working perfectly. Lifesaver!

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

No branches or pull requests

3 participants