mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 16:17:21 +00:00
Remove commented-out front matter vars
This commit is contained in:
1 parent
6af744c2ca
commit
c126c94103
1 file changed
+2
-8
@@ -95,10 +95,10 @@ There are a few predefined variables that Hugo is aware of. See [Page Variables]
|
|||||||
: If true, the content will not be rendered unless `hugo` is called with `--buildDrafts`
|
: If true, the content will not be rendered unless `hugo` is called with `--buildDrafts`
|
||||||
|
|
||||||
`expirydate`
|
`expirydate`
|
||||||
: denotes when content should no longer be published by Hugo; expired will not be rendered unless `hugo` is called with `--buildExpired`
|
: denotes when content should no longer be published by Hugo; expired content will not be rendered unless `hugo` is called with `--buildExpired`
|
||||||
|
|
||||||
`isCJKLanguage`
|
`isCJKLanguage`
|
||||||
: if `true`, explicitly treat the content as CJKLanguage; both `.Summary` and `.WordCount` can work properly in CJK languages.
|
: if `true`, Hugo will explicitly treat the content as a CJK language; both `.Summary` and `.WordCount` work properly in CJK languages.
|
||||||
|
|
||||||
`keywords`
|
`keywords`
|
||||||
: the meta keywords for the content.
|
: the meta keywords for the content.
|
||||||
@@ -118,15 +118,9 @@ There are a few predefined variables that Hugo is aware of. See [Page Variables]
|
|||||||
`publishdate`
|
`publishdate`
|
||||||
: If in the future, content will not be rendered unless `hugo` is called with `--buildFuture`
|
: If in the future, content will not be rendered unless `hugo` is called with `--buildFuture`
|
||||||
|
|
||||||
<!-- `sitemap`
|
|
||||||
: see https://github.com/spf13/hugo/blob/ede452d34ef82a2d6949bf0c5a4584caf3ae03bc/hugolib/page.go#L1062 -->
|
|
||||||
|
|
||||||
`slug`
|
`slug`
|
||||||
: appears as the tail of the URL. When used, it will override the segment of the URL based on the filename.
|
: appears as the tail of the URL. When used, it will override the segment of the URL based on the filename.
|
||||||
|
|
||||||
<!-- `status`
|
|
||||||
: see https://github.com/spf13/hugo/blob/ede452d34ef82a2d6949bf0c5a4584caf3ae03bc/hugolib/page.go#L1059 -->
|
|
||||||
|
|
||||||
`taxonomies`
|
`taxonomies`
|
||||||
: these will use the field name of the plural form of the index (see `tags` and
|
: these will use the field name of the plural form of the index (see `tags` and
|
||||||
`categories` in the above front matter examples).
|
`categories` in the above front matter examples).
|
||||||
|
|||||||
Reference in new issue
Block a user