mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-31 08:57:15 +00:00
docs: remove attachments examples
to avoid build warnings and not encouraging people to use it anymore
This commit is contained in:
parent
64b4ad751e
commit
0172221531
2 changed files with 2 additions and 4 deletions
|
@ -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.
|
||||||
|
|
|
@ -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 >}}
|
Loading…
Add table
Reference in a new issue