From 4a90230ffcc264561a87f0832b3b47b7e20f7d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bojan=20Bedra=C4=8D?= Date: Mon, 29 Aug 2022 00:04:39 +0200 Subject: [PATCH 1/2] Support schema.org breadcrumbs - replaces the data-vocabulary.org schema (deprecated by Google) with schema.org schema - separates the slice building from output --- layouts/partials/header.html | 47 ++++++++++++++++++++++++++++++++---- 1 file changed, 42 insertions(+), 5 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 8ee0334bc05..11126b93521 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -61,7 +61,7 @@ {{ end }} {{ end }} {{$toc := (and (not .Params.disableToc) (not .Params.chapter))}} -