Merge commit '346b60358dd8ec2ca228e6635bff9d7914b398b7'

This commit is contained in:
Bjørn Erik Pedersen
2025-01-23 09:47:46 +01:00
384 changed files with 3305 additions and 3271 deletions

View File

@@ -12,8 +12,6 @@ action:
aliases: [/functions/urls.joinpath]
---
{{< new-in 0.112.0 >}}
```go-html-template
{{ urls.JoinPath }} → "" (empty string)
{{ urls.JoinPath "" }} → /

View File

@@ -35,7 +35,7 @@ The second argument is a path to a page, with or without a file extension, with
Instead of specifying a path, you can also provide an options map:
path
: (`string`) The path to the page, relative to the content directory. Required.
: (`string`) The path to the page, relative to the `content` directory. Required.
lang
: (`string`) The language (site) to search for the page. Default is the current language. Optional.

View File

@@ -42,7 +42,7 @@ Code|baseURL|Permalink
Instead of specifying a path, you can also provide an options map:
path
: (`string`) The path to the page, relative to the content directory. Required.
: (`string`) The path to the page, relative to the `content` directory. Required.
lang
: (`string`) The language (site) to search for the page. Default is the current language. Optional.

View File

@@ -16,7 +16,7 @@ aliases: [/functions/urlize]
## Example
Use the `urlize` function to create a link to a [term] page.
Use the `urlize` function to create a link to a [term page](g).
Consider this site configuration:
@@ -60,4 +60,3 @@ To create a link to the term page:
To generate a list of term pages associated with a given content page, use the [`GetTerms`] method on a `Page` object.
[`GetTerms`]: /methods/page/getterms/
[term]: /getting-started/glossary/#term