You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm probably missing something really obvious with Statiq.Web, but I can't work out how to render an output file as a partial within another page.
For my home page (which has a complex HTML structure) and for a few other pages, I'd like to include content snippets from markdown files within a content folder. This is so content editors can change content text without having to understand the .cshtml files. You seem to allude that this is possible here:
Preventing content file output can be helpful when you want to define partial content (like product descriptions, personal biographies, etc.) for inclusion in other documents without resulting in an output file.
However, I've gone through examples, documentation and even intellisense, but still can't work out how.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm probably missing something really obvious with Statiq.Web, but I can't work out how to render an output file as a partial within another page.
For my home page (which has a complex HTML structure) and for a few other pages, I'd like to include content snippets from markdown files within a content folder. This is so content editors can change content text without having to understand the .cshtml files. You seem to allude that this is possible here:
However, I've gone through examples, documentation and even intellisense, but still can't work out how.
Or, does this require a custom pipeline?
Beta Was this translation helpful? Give feedback.
All reactions