You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/content/front-matter.md
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -101,13 +101,12 @@ Field names are always normalized to lowercase (e.g. `camelCase: true` is availa
101
101
***draft** If true, the content will not be rendered unless `hugo` is called with `--buildDrafts`
102
102
***publishdate** If in the future, content will not be rendered unless `hugo` is called with `--buildFuture`
103
103
***type** The type of the content (will be derived from the directory automatically if unset)
104
-
***isCJKLanguage** If true, explicitly treat the content as CJKLanguage (.Summary and .WordCount can work properly in CJKLanguage)
104
+
***isCJKLanguage** If true, explicitly treat the content as CJKLanguage (`.Summary` and `.WordCount` can work properly in CJKLanguage)
105
105
***weight** Used for sorting
106
106
***markup***(Experimental)* Specify `"rst"` for reStructuredText (requires
107
107
`rst2html`) or `"md"` (default) for Markdown
108
-
***slug** The token to appear in the tail of the URL,
109
-
*or*<br>
110
-
***url** The full path to the content from the web root.<br>
108
+
***slug** appears as tail of the url. It can be used to change the part of the url that is based on the filename.
109
+
***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 multilingual feature.
111
110
112
111
*If neither `slug` or `url` is present, the filename will be used.*
0 commit comments