all: Change shortcode usage and design to prevent invalid HTML

This commit is contained in:
Joe Mooring authored and GitHub committed 2025-02-17 00:38:33 -08:00
1 parent c41d766137
commit 0fca8ef251
174 files changed
+671 -633

No files matched your search

+4 -4
View File
@@ -12,14 +12,14 @@ toc: true
expiryDate: 2026-02-19 # deprecated 2024-02-19 in v0.123.0
---
{{% deprecated-in 0.123.0 %}}
{{< deprecated-in 0.123.0 >}}
Instead, use [`transform.Unmarshal`] with a [global resource](g), [page resource](g), or [remote resource](g).
See the [remote data example].
[`transform.Unmarshal`]: /functions/transform/unmarshal/
[remote data example]: /functions/resources/getremote/#remote-data
{{% /deprecated-in %}}
{{< /deprecated-in >}}
Given the following directory structure:
@@ -36,9 +36,9 @@ Access the data with either of the following:
{{ $data := getJSON "other-files/" "books.json" }}
```
{{% note %}}
{{< note >}}
When working with local data, the file path is relative to the working directory.
{{% /note %}}
{{< /note >}}
Access remote data with either of the following: