From 472c9c6bcc66efcb01a104835396dd7b9bc31aa6 Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Fri, 12 Apr 2024 01:35:18 -0500 Subject: [PATCH] Error for missing breadcrumbs (scientific-python/blog.scientific-python.org#158) * layouts/partials/breadcrumbs.html: Log an error and fail the build if a breadcrumb is missing (i.e. if a page used in a breadcrumb has a missing "title" field in its front matter). This only applies to content pages which are referred to in breadcrumbs; other pages are still allowed to not have titles. See . --- layouts/partials/breadcrumbs.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html index 84e5e27c..bae1205e 100644 --- a/layouts/partials/breadcrumbs.html +++ b/layouts/partials/breadcrumbs.html @@ -1,6 +1,11 @@