coverImage()): ?>
<?php echo blowdit_text($page->title()); ?>

title()); ?>

isStatic() && !$url->notFound()): ?> getValue('date'); $bdModRaw = $page->getValue('dateModified'); $bdUpdated = ''; if ($bdModRaw && class_exists('Date') && substr($bdModRaw, 0, 10) !== substr($bdPubRaw, 0, 10) && $bdModRaw > $bdPubRaw) { $bdUpdated = Date::format($bdModRaw, DB_DATE_FORMAT, 'M j, Y'); } ?>
) 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 LinkedIn
isStatic() && !$url->notFound()) { $bdOlder = null; $bdNewer = null; $bdRelated = array(); try { global $pages; if (isset($pages) && method_exists($pages, 'getList')) { $bdKeys = $pages->getList(1, 10000, true); // published, newest-first if (is_array($bdKeys)) { $bdKeys = array_values($bdKeys); $bdCur = $page->key(); $bdI = array_search($bdCur, $bdKeys, true); if ($bdI !== false) { if (isset($bdKeys[$bdI + 1])) { $bdOlder = new Page($bdKeys[$bdI + 1]); } if ($bdI > 0 && isset($bdKeys[$bdI - 1])) { $bdNewer = new Page($bdKeys[$bdI - 1]); } } $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) { $bdOlder = null; $bdNewer = null; $bdRelated = array(); } ?>