Skip to content
Discussion options

You must be logged in to vote

I have just had the same problem and found the answer in the blog plugin, specifically in this line, which adds data to the page context. No need to write a full plugin, you can write a much simpler hook that has an on_page_context method and adds the data you want.

Replies: 1 comment 1 reply

Comment options

alexvoss
Nov 28, 2023
Collaborator Sponsor

You must be logged in to vote
1 reply
@reece
Comment options

Answer selected by reece
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants