From 467fdea52c27dcf01e79cb96068134403afff660 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Thu, 3 Dec 2020 22:57:06 +0100 Subject: [PATCH] widget/page: apply nested placeholders Similar to article rendering added in commit v3.5-16-g9e9882d6f2 (2018-08-07) [nieuws: replace placeholders in article contents]. --- widget/page.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/widget/page.php b/widget/page.php index 10c3a2d..7304739 100644 --- a/widget/page.php +++ b/widget/page.php @@ -1,2 +1,5 @@ path}.html"; +$article = new ArchiveArticle(".{$Page->path}.html"); +ob_start(); +print $article->raw; +print $article->render(); -- 2.30.0