Replace links to variable pages with links to method pages

See #2196
This commit is contained in:
Joe Mooring authored and Bjørn Erik Pedersen committed 2024-02-19 19:07:38 +01:00
1 parent ad4a124c0c
commit b8d5383f71
175 files changed
+382 -378

No files matched your search

+4 -4
View File
@@ -48,7 +48,7 @@ Is rendered to:
{{% note %}}
Content between opening and closing shortcode tags may include leading and/or trailing newlines, depending on placement within the markdown. Use the [`trim`] function as shown above to remove both carriage returns and newlines.
[`trim`]: /functions/strings/trim
[`trim`]: /functions/strings/trim/
{{% /note %}}
{{% note %}}
@@ -60,7 +60,7 @@ In the example above, the value returned by `Inner` is markdown, but it was rend
Let's modify the example above to pass the value returned by `Inner` through the [`RenderString`] method on the `Page` object:
[`RenderString`]: /methods/page/renderstring
[`RenderString`]: /methods/page/renderstring/
{{< code file=layouts/shortcodes/card.html >}}
<div class="card">
@@ -86,8 +86,8 @@ Hugo renders this to:
You can use the [`markdownify`] function instead of the `RenderString` method, but the latter is more flexible. See&nbsp;[details].
[details]: /methods/page/renderstring
[`markdownify`]: /functions/transform/markdownify
[details]: /methods/page/renderstring/
[`markdownify`]: /functions/transform/markdownify/
## Use alternate notation