ref: 742911146a24a0c39e4dcc516583fe5ed5567fa2
parent: e80453a991b84280181555b8186730918ae8ee0a
author: digitalcraftsman <[email protected]>
date: Fri Sep 16 13:37:35 EDT 2016
docs: Clarify difference between slug and url
--- a/docs/content/content/front-matter.md
+++ b/docs/content/content/front-matter.md
@@ -102,13 +102,12 @@
* **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)
+* **isCJKLanguage** If true, explicitly treat the content as CJKLanguage (`.Summary` and `.WordCount` can work properly in CJKLanguage)
* **weight** Used for sorting
* **markup** *(Experimental)* Specify `"rst"` for reStructuredText (requires
`rst2html`) or `"md"` (default) for Markdown
-* **slug** The token to appear in the tail of the URL,
- *or*<br>
-* **url** The full path to the content from the web root.<br>
+* **slug** appears as tail of the url. It can be used to change the part of the url that is based on the filename.
+* **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.
*If neither `slug` or `url` is present, the filename will be used.*