Improve documentation on slug behavior

Slug takes the place of the filename for the path — but the example was somewhat confusing because the title and the slug are the same. Having a different title that points out the filename makes it clear that the slug isn't related to title, but rather filename.
This commit is contained in:
Nicholas Gracilla authored and Kaushal Modi committed 2020-01-22 08:33:14 -05:00
1 parent 835ddd9c23
commit ef57b2dae9
1 file changed
+1 -1
@@ -173,7 +173,7 @@ When defined in the front matter, the `slug` can take the place of the filename
{{< code file="content/posts/old-post.md" >}}
---
title: New Post
title: A new post with the filename old-post.md
slug: "new-post"
---
{{< /code >}}