-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
When creating a template for a specific entry, load that entries data into edit template view #41947
Comments
This feels much more important now that #42520 is close to being merged. It's a bit strange to create a template for a specific post category (for example) but not see posts from that category on the canvas. |
#43699 makes the template for specific categories to only load the posts from that category. |
@oandregal Sorry for another ping :) I don't suppose you'd be able to look into this one? Now that we have contextual data in archive templates, it feels a little awkward to not have it in singular templates as well. |
I started taking a look at #44158 the other day, but then had to switch to other things (backports, etc.). I'm still interested, though these days are a bit hectic :) Is there a place where we can list all these issues, so it's easier to track? |
I opened #44322 :) |
When you create a template for a specific entry like a post, that template should always resolve to display that post, and only that post. It has no other use.
We can therefore consider pulling the data for the associated entry into the template edit view.
IE, instead of the canvas looking like this:
It would look like this:
The context can be very helpful when crafting a bespoke template for a particular piece of content. This would also represent another step towards aligning the Template Editor with the Site Editor.
The text was updated successfully, but these errors were encountered: