diff --git a/app/router.php b/app/router.php index 5e2d72e..e3b4b77 100644 --- a/app/router.php +++ b/app/router.php @@ -78,6 +78,8 @@ if (str_ends_with($ctx->requestPath, 'feed.xml')) { // Render full content for each item foreach ($items as &$item) { $item['content'] = ''; + $itemMetadata = loadMetadata($item['dirPath']); + getPluginManager()->loadPagePlugins($itemMetadata); $contentFiles = findAllContentFiles($item['dirPath']); foreach ($contentFiles as $file) { $item['content'] .= renderContentFile($file, $ctx); diff --git a/app/static.php b/app/static.php index 642fa2a..4b0d4c1 100644 --- a/app/static.php +++ b/app/static.php @@ -1,29 +1,39 @@