From ef57b2dae96529531a1e24178bb81db613e9006c Mon Sep 17 00:00:00 2001 From: Nicholas Gracilla Date: Mon, 20 Jan 2020 10:13:57 -0600 Subject: [PATCH] Improve documentation on slug behavior MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- content/en/content-management/organization/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/content-management/organization/index.md b/content/en/content-management/organization/index.md index 9ed2dbff3..64d32781a 100644 --- a/content/en/content-management/organization/index.md +++ b/content/en/content-management/organization/index.md @@ -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 >}}