feat: enhance user experience with custom 404 page, breadcrumbs, and mobile ToC; add callout styles and language labels

This commit is contained in:
interlope committed 2026-06-02 23:42:50 +02:00
1 parent deba0bf3f9
commit 72a45c1b7f
6 files changed
+420 -84

No files matched your search

+7
View File
@@ -21,6 +21,13 @@
<link rel="preload" as="image" href="<?php echo htmlspecialchars($page->coverImage(true), ENT_QUOTES, 'UTF-8'); ?>" fetchpriority="high">
<?php endif ?>
<?php if (!empty($blowditIsArticle)): ?>
<!-- Warm up connections to article third-parties (comments + tweet embeds) -->
<link rel="preconnect" href="https://utteranc.es" crossorigin>
<link rel="dns-prefetch" href="https://platform.twitter.com">
<link rel="dns-prefetch" href="https://cdn.syndication.twimg.com">
<?php endif ?>
<!-- Set the colour theme as early as possible to avoid a white flash.
Sets data-theme AND paints the html background/color-scheme inline, so the
very first frame (before style.css loads) already uses the theme colour. -->