We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a7dcec5 + b5c0e9e commit 7fecd6dCopy full SHA for 7fecd6d
src/project/types/website/website.ts
@@ -191,7 +191,9 @@ export const websiteProjectType: ProjectType = {
191
const listingPostProcessor =
192
htmlListingDependencies[kHtmlPostprocessors];
193
if (listingPostProcessor) {
194
- extras.html[kHtmlPostprocessors]?.push(listingPostProcessor);
+ // Process listings early so if we inject content div, navigation and other
195
+ // elements will wrap around
196
+ extras.html[kHtmlPostprocessors]?.unshift(listingPostProcessor);
197
}
198
199
const listingAfterBody = htmlListingDependencies[kMarkdownAfterBody];
0 commit comments