Skip to content

Commit

Permalink
Improve documentation on slug behavior
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Nicholas Gracilla authored and kaushalmodi committed Jan 22, 2020
1 parent 835ddd9 commit ef57b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/content-management/organization/index.md
Expand Up @@ -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 >}}
Expand Down

0 comments on commit ef57b2d

Please sign in to comment.