Merge commit 'a8e9fc699a6ff7d578f97a7c553ce844efad8fdb'

This commit is contained in:
Bjørn Erik Pedersen
2022-01-12 08:16:35 +01:00
17 changed files with 65 additions and 41 deletions

View File

@@ -40,7 +40,7 @@ The `.File` object contains the following fields:
: the filename without extension (e.g., `foo.en`)
.File.Ext
: the file extension of the content file (e.g., `md`); this can also be called using `.File.Extension` as well. Note that it is *only* the extension without `.`.
: the file extension of the content file (e.g., `md`).
.File.Lang
: the language associated with the given file if Hugo's [Multilingual features][multilingual] are enabled (e.g., `en`)

View File

@@ -37,10 +37,10 @@ The `GitInfo` object contains the following fields:
: the abbreviated commit hash (e.g., `866cbcc`)
.AuthorName
: the author's name, respecting `.mailmap`
: the author's name, respecting [`.mailmap`](https://git-scm.com/docs/gitmailmap)
.AuthorEmail
: the author's email address, respecting `.mailmap`
: the author's email address, respecting [`.mailmap`](https://git-scm.com/docs/gitmailmap)
.AuthorDate
: the author date

View File

@@ -33,6 +33,9 @@ See [`.Scratch`](/functions/scratch/) for page-scoped, writable variables.
.Aliases
: aliases of this page
.BundleType
: the [bundle] type: `leaf`, `branch`, or an empty string if the page is not a bundle.
.Content
: the content itself, defined below the front matter.
@@ -305,3 +308,4 @@ The top-level key will be preferred. Therefore, the following method, when appli
[gitinfo]: /variables/git/
[File Variables]: /variables/files/
[bundle]: {{< relref "content-management/page-bundles" >}}