Fix typos

This commit is contained in:
Andreas Deininger 2024-02-20 20:24:30 +01:00 committed by GitHub
parent 1c20eb91ad
commit 08c4af7afb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -153,5 +153,5 @@ A key difference between these trees is the relative path from p1 to p2:
- In the logical tree, the relative path is `p2` - In the logical tree, the relative path is `p2`
{{% note %}} {{% note %}}
Rember to use the logical path when using any of the methods, functions, or shortcodes listed in the previous section. If you include a file extension or language identifier, Hugo will strip these values before finding the page in the logical tree. Remember to use the logical path when using any of the methods, functions, or shortcodes listed in the previous section. If you include a file extension or language identifier, Hugo will strip these values before finding the page in the logical tree.
{{% /note %}} {{% /note %}}

View File

@ -114,7 +114,7 @@ path
: (`string`) The path to the directory containing the published files, relative to the root of the publish directory. : (`string`) The path to the directory containing the published files, relative to the root of the publish directory.
permalinkable permalinkable
: (`bool`) If `true`, the [`Permalink`] and [`RelPermalink`] methods on a `Page` object return the rendering output format rather than main ouptut format ([see below](#link-to-output-formats)). Enabled by default for the `html` and `amp` output formats. Default is `false`. : (`bool`) If `true`, the [`Permalink`] and [`RelPermalink`] methods on a `Page` object return the rendering output format rather than main output format ([see below](#link-to-output-formats)). Enabled by default for the `html` and `amp` output formats. Default is `false`.
[`Permalink`]: /methods/page/permalink/ [`Permalink`]: /methods/page/permalink/
[`RelPermalink`]: /methods/page/relpermalink/ [`RelPermalink`]: /methods/page/relpermalink/
@ -123,7 +123,7 @@ protocol
: (`string`) The protocol (scheme) of the URL for this output format. For example, `https://` or `webcal://`. Default is the scheme of the `baseURL` parameter in your site configuration, typically `https://`. : (`string`) The protocol (scheme) of the URL for this output format. For example, `https://` or `webcal://`. Default is the scheme of the `baseURL` parameter in your site configuration, typically `https://`.
rel rel
: (`string`) If provided, you can assign this value to `rel` attributes in `link` elements when iterating over ouput formats in your templates. Default is `alternate`. : (`string`) If provided, you can assign this value to `rel` attributes in `link` elements when iterating over output formats in your templates. Default is `alternate`.
root root
: (`bool`) If `true`, files will be published to the root of the publish directory. Default is `false`. : (`bool`) If `true`, files will be published to the root of the publish directory. Default is `false`.