From 55c4c45c743b3cff23df370ae57908b9665d976f Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 1 Oct 2024 23:28:57 +0200 Subject: [PATCH] Remove 'expand' shortcode, use 'details' instead --- .../content.en/docs/shortcodes/expand.md | 35 ------------------- layouts/shortcodes/expand.html | 13 ------- 2 files changed, 48 deletions(-) delete mode 100644 exampleSite/content.en/docs/shortcodes/expand.md delete mode 100644 layouts/shortcodes/expand.html diff --git a/exampleSite/content.en/docs/shortcodes/expand.md b/exampleSite/content.en/docs/shortcodes/expand.md deleted file mode 100644 index c62520f..0000000 --- a/exampleSite/content.en/docs/shortcodes/expand.md +++ /dev/null @@ -1,35 +0,0 @@ -# Expand - -Expand shortcode can help to decrease clutter on screen by hiding part of text. Expand content by clicking on it. - -## Example -### Default - -```tpl -{{}} -## Markdown content -Lorem markdownum insigne... -{{}} -``` - -{{< expand >}} -## Markdown content -Lorem markdownum insigne... -{{< /expand >}} - -### With Custom Label - -```tpl -{{}} -## Markdown content -Lorem markdownum insigne... -{{}} -``` - -{{< expand "Custom Label" "..." >}} -## Markdown content -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. -Miseratus fonte Ditis conubia. -{{< /expand >}} diff --git a/layouts/shortcodes/expand.html b/layouts/shortcodes/expand.html deleted file mode 100644 index f254944..0000000 --- a/layouts/shortcodes/expand.html +++ /dev/null @@ -1,13 +0,0 @@ -{{ warnf "Expand shortcode is deprecated. Use 'details' instead." }} -
- -