widget: unnamed options as placeholders instead of path
[minimedit.git] / widget / page.php
index 7304739e4fc2443b369f73382a87df5ada41ee24..4ae0967067965309538aad950812ef0768585ce8 100644 (file)
@@ -1,5 +1,3 @@
 <?php
-$article = new ArchiveArticle(".{$Page->path}.html");
-ob_start();
-print $article->raw;
+$article = new ArchiveArticle("{$Page->place[0]}.html");
 print $article->render();