Clarify description of front matter url (#1557)

Related to:
- https://github.com/gohugoio/hugo/pull/7084
- https://github.com/gohugoio/hugo/issues/6448
This commit is contained in:
Joe Mooring 2021-11-01 09:56:12 -07:00 committed by GitHub
parent 39a7fac343
commit f8ea8e84f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,8 +128,7 @@ type
: the type of the content; this value will be automatically derived from the directory (i.e., the [section][]) if not specified in front matter. : the type of the content; this value will be automatically derived from the directory (i.e., the [section][]) if not specified in front matter.
url url
: the full path to the content from the web root. It makes no assumptions about the path of the content file. It also ignores any language prefixes of : the full path to the content from the web root. It makes no assumptions about the path of the content file. See [URL Management](/content-management/urls/#set-url-in-front-matter).
the multilingual feature.
videos videos
: an array of paths to videos related to the page; used by the `opengraph` [internal template](/templates/internal) to populate `og:video`. : an array of paths to videos related to the page; used by the `opengraph` [internal template](/templates/internal) to populate `og:video`.