mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
docs: Add expirydate to front-matter doc
This commit is contained in:
parent
5461a5e03d
commit
6e9fbf8ad6
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ Field names are always normalized to lowercase (e.g. `camelCase: true` is availa
|
|||
See [Aliases]({{< relref "extras/aliases.md" >}}) for details.
|
||||
* **draft** If true, the content will not be rendered unless `hugo` is called with `--buildDrafts`
|
||||
* **publishdate** If in the future, content will not be rendered unless `hugo` is called with `--buildFuture`
|
||||
* **expirydate** Content already expired will not be rendered unless `hugo` is called with `--buildExpired`
|
||||
* **type** The type of the content (will be derived from the directory automatically if unset)
|
||||
* **isCJKLanguage** If true, explicitly treat the content as CJKLanguage (.Summary and .WordCount can work properly in CJKLanguage)
|
||||
* **weight** Used for sorting
|
||||
|
|
Loading…
Reference in a new issue