Assume the introduction paragraph does not contain restricted contents
(also included in public sitemap) and wanted as contents for social media
links instead of unrelated login description.
$target = new ArchiveArticle("$target.html");
if ($target and $target->handler == 'melding') {
+ # run forbidden handler to determine metadata
+ #TODO: generic solution
$caller = $Page;
$Page = $target;
ob_start();
if ($target->title) {
$Page->title .= ' voor ' . $target->title;
}
- if ($target->image) {
- $Page->image = $target->image;
- }
+ $Page->image = $target->image;
+ $Page->teaser = $target->teaser;
}
ob_start();
require_once 'login/form.inc.php';