From 01722215317c55441f92d6fff857ad811ac28ec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sat, 27 Apr 2024 14:44:49 +0200 Subject: [PATCH] docs: remove attachments examples to avoid build warnings and not encouraging people to use it anymore --- exampleSite/content/shortcodes/attachments/index.en.md | 4 ++-- exampleSite/content/shortcodes/attachments/index.pir.md | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/exampleSite/content/shortcodes/attachments/index.en.md b/exampleSite/content/shortcodes/attachments/index.en.md index f8ae73be42..11b67bb470 100644 --- a/exampleSite/content/shortcodes/attachments/index.en.md +++ b/exampleSite/content/shortcodes/attachments/index.en.md @@ -6,12 +6,12 @@ title = "Attachments" {{% notice warning %}} This shortcode is deprecated in favor of the new [`resources` shortcode](shortcodes/resources). See [migration instructions](#migration) below. + +The examples on this page were removed. {{% /notice %}} The `attachments` shortcode displays a list of files attached to a page with adjustable color, title and icon. -{{% attachments sort="asc" /%}} - ## Migration While this shortcode will still be available for some time, it does not receive support anymore. Start to migrate early, as it will be removed with the next major update of the theme. diff --git a/exampleSite/content/shortcodes/attachments/index.pir.md b/exampleSite/content/shortcodes/attachments/index.pir.md index dedf462fe3..32c05d4d13 100644 --- a/exampleSite/content/shortcodes/attachments/index.pir.md +++ b/exampleSite/content/shortcodes/attachments/index.pir.md @@ -3,6 +3,4 @@ description = "Th' Attachments shorrrtcode displays a list o' files attached t' hidden = "true" title = "Attachments" +++ -{{% attachments sort="asc" /%}} - {{< piratify >}} \ No newline at end of file