mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 13:04:43 -04:00
Fix links
This commit is contained in:
parent
3ab8bb4e39
commit
0359c4a1ec
@ -89,12 +89,10 @@ If you set both `slug` and `url` in front matter, the `url` value takes preceden
|
||||
|
||||
### Permalinks
|
||||
|
||||
In your site configuration, define a URL pattern for each top-level section. Each URL pattern can target a given language and/or [page kind].
|
||||
In your site configuration, define a URL pattern for each top-level section. Each URL pattern can target a given language and/or page kind.
|
||||
|
||||
Front matter `url` values override the URL patterns defined in the `permalinks` section of your site configuration.
|
||||
|
||||
[page kind]: /templates/section-templates/#page-kinds
|
||||
|
||||
#### Monolingual examples {#permalinks-monolingual-examples}
|
||||
|
||||
With this content structure:
|
||||
|
@ -275,7 +275,7 @@ A slice of page objects.
|
||||
|
||||
###### page kind
|
||||
|
||||
A classification of pages, one of `home`, `page`, `section`, `taxonomy`, or `term`. See [details](/templates/section-templates/#page-kinds).
|
||||
A classification of pages, one of `home`, `page`, `section`, `taxonomy`, or `term`. See [details](/methods/page/kind/).
|
||||
|
||||
Note that there are also `RSS`, `sitemap`, `robotsTXT`, and `404` page kinds, but these are only available during the rendering of each of these respective page's kind and therefore *not* available in any of the `Pages` collections.
|
||||
|
||||
|
@ -141,7 +141,7 @@ system.
|
||||
|
||||
### Default output formats
|
||||
|
||||
Every `Page` has a [`Kind`][page_kinds] attribute, and the default Output
|
||||
Every `Page` has a [`Kind`] attribute, and the default Output
|
||||
Formats are set based on that.
|
||||
|
||||
{{< code-toggle config=outputs />}}
|
||||
@ -247,4 +247,4 @@ The partial below is a plain text template . The output format is `csv`, and sin
|
||||
[lookup order]: /templates/lookup-order/
|
||||
[media type]: https://en.wikipedia.org/wiki/Media_type
|
||||
[partials]: /templates/partials/
|
||||
[page_kinds]: /templates/section-templates/#page-kinds
|
||||
[`kind`]: /methods/page/kind/
|
||||
|
Loading…
x
Reference in New Issue
Block a user