notFound()) : ?>

404

get('Page not found'); ?>

get('The page you are looking for does not exist or has moved.'); ?>

get('Back to home'); ?>
coverImage()): ?>
<?php echo blowdit_text($page->title()); ?>
isStatic() && !$url->notFound()) : ?>

title()); ?>

isStatic() && !$url->notFound()): ?> isStatic() && !$url->notFound()) : $bdSeriesTag = ''; $bdSeriesName = ''; foreach ($page->tags(true) as $bdTk => $bdTn) { if (preg_match('/^series[-_]/i', $bdTk)) { $bdSeriesTag = $bdTk; $bdSeriesName = $bdTn; break; } } $bdSeriesPosts = array(); if ($bdSeriesTag) { try { global $pages; if (isset($pages) && method_exists($pages, 'getList')) { foreach ($pages->getList(1, 1000, true) as $bdSk) { $bdSp = new Page($bdSk); if (in_array($bdSeriesTag, array_keys($bdSp->tags(true)), true)) { $bdSeriesPosts[] = $bdSp; } } usort($bdSeriesPosts, function ($a, $b) { return strcmp($a->getValue('date'), $b->getValue('date')); }); } } catch (\Throwable $e) { $bdSeriesPosts = array(); } } $bdSeriesLabel = trim(preg_replace('/^series\s*[:\-_]?\s*/i', '', blowdit_plain($bdSeriesName))); ?> 1) : ?>
) are untouched. echo preg_replace( '/]*\bloading=)/i', 'content() ); ?>
tags(true); $categoryKey = $page->categoryKey(); ?>
category()); ?> $tagName) : ?>
isStatic() && !$url->notFound()) : ?> permalink(true); $bdShareTitle = blowdit_plain($page->title()); ?>
get('Share'); ?> X (Twitter) Reddit LinkedIn
isStatic() && !$url->notFound()) { $bdRelated = array(); try { global $pages; if (isset($pages) && method_exists($pages, 'getList')) { $bdKeys = $pages->getList(1, 10000, true); // published if (is_array($bdKeys)) { $bdCur = $page->key(); $bdCat = $page->categoryKey(); $bdTags = array_keys($page->tags(true)); foreach ($bdKeys as $bdK) { if ($bdK === $bdCur) { continue; } if (count($bdRelated) >= 3) { break; } $bdCand = new Page($bdK); $bdMatch = ($bdCat && $bdCand->categoryKey() === $bdCat); if (!$bdMatch && $bdTags) { $bdMatch = (bool) array_intersect($bdTags, array_keys($bdCand->tags(true))); } if ($bdMatch) { $bdRelated[] = $bdCand; } } } } } catch (\Throwable $e) { $bdRelated = array(); } ?>