Skip to content

Comments

Add a page_content block for better inheritance#3570

Open
Dreamsorcerer wants to merge 2 commits intogetpelican:mainfrom
Dreamsorcerer:patch-5
Open

Add a page_content block for better inheritance#3570
Dreamsorcerer wants to merge 2 commits intogetpelican:mainfrom
Dreamsorcerer:patch-5

Conversation

@Dreamsorcerer
Copy link

This adds a page_content block that can be replaced in a child template.

As an example, our use case is to extract a list of links from the metadata and add them to the top of the content. Currently we need to copy most of this template to achieve that.

Co-authored-by: Paolo Melchiorre <pmelchiorre@rippling.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants