@list ($year, $page) = explode('/', trim($Args, '/'));
@list ($year, $page) = explode('/', trim($Args, '/'));
print '<script src="/nieuws/edit.js"></script>'."\n";
}
if ($page and !is_numeric($page)) {
$Article->meta['og:type'] = 'article';
print '<script src="/nieuws/edit.js"></script>'."\n";
}
if ($page and !is_numeric($page)) {
$Article->meta['og:type'] = 'article';
$Place[1] = ' <small class="date">'.$Article->date.'</small>';
}
print preg_replace('{(?<=<h2>)(.*?)(?=</h2>)}', ($edit ?: '\1').' [[1]]', $Article->raw);
$Place[1] = ' <small class="date">'.$Article->date.'</small>';
}
print preg_replace('{(?<=<h2>)(.*?)(?=</h2>)}', ($edit ?: '\1').' [[1]]', $Article->raw);
$taglist = [];
foreach (glob("$Page/.tags/*") as $tagpath) {
$tagname = pathinfo($tagpath, PATHINFO_BASENAME);
$taglist = [];
foreach (glob("$Page/.tags/*") as $tagpath) {
$tagname = pathinfo($tagpath, PATHINFO_BASENAME);