From 2b7a0e87c3700f371f69e5f569dfd8d821f62672 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 8 Oct 2024 15:50:46 +0200 Subject: [PATCH] Deprecate section shortcode --- exampleSite/content.en/docs/shortcodes/section/_index.md | 1 + layouts/shortcodes/section.html | 1 + 2 files changed, 2 insertions(+) diff --git a/exampleSite/content.en/docs/shortcodes/section/_index.md b/exampleSite/content.en/docs/shortcodes/section/_index.md index b03893d..05da5f0 100644 --- a/exampleSite/content.en/docs/shortcodes/section/_index.md +++ b/exampleSite/content.en/docs/shortcodes/section/_index.md @@ -1,5 +1,6 @@ --- bookCollapseSection: true +bookHidden: true --- # Section diff --git a/layouts/shortcodes/section.html b/layouts/shortcodes/section.html index 35fbf9b..b700ec4 100644 --- a/layouts/shortcodes/section.html +++ b/layouts/shortcodes/section.html @@ -1,3 +1,4 @@ +{{- warnf "Section shortcode is deprecated and will be removed" -}}
{{ range .Page.Pages }}