docs: remove attachments examples

to avoid build warnings and not encouraging people to use it anymore
This commit is contained in:
Sören Weber 2024-04-27 14:44:49 +02:00
parent 64b4ad751e
commit 0172221531
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 2 additions and 4 deletions

View file

@ -6,12 +6,12 @@ title = "Attachments"
{{% notice warning %}} {{% notice warning %}}
This shortcode is deprecated in favor of the new [`resources` shortcode](shortcodes/resources). See [migration instructions](#migration) below. 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 %}} {{% /notice %}}
The `attachments` shortcode displays a list of files attached to a page with adjustable color, title and icon. The `attachments` shortcode displays a list of files attached to a page with adjustable color, title and icon.
{{% attachments sort="asc" /%}}
## Migration ## 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. 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.

View file

@ -3,6 +3,4 @@ description = "Th' Attachments shorrrtcode displays a list o' files attached t'
hidden = "true" hidden = "true"
title = "Attachments" title = "Attachments"
+++ +++
{{% attachments sort="asc" /%}}
{{< piratify >}} {{< piratify >}}