statiqdev / Statiq.Framework

A flexible and extensible static content generation framework for .NET.
https://statiq.dev/framework
MIT License
421 stars 74 forks source link

Insert content from another page #265

Open girlpunk opened 1 year ago

girlpunk commented 1 year ago

I have some pages that currently contain duplicated content (for the purposes of making it available in two sections of the website). It would be useful if there was some method of putting an entire page into another page.

A redirect would also work, however at present setting front matter on a pages that's going to be redirected (e.g. to set the title and order for the sidebar) breaks the redirect.