From 0b0d3b43a19a0cf0a25d9c784bccd7899cb42262 Mon Sep 17 00:00:00 2001 From: Geoff Shannon Date: Fri, 18 Apr 2014 13:02:58 -0700 Subject: [PATCH 1/3] Add a to cross-reference about post_url I had a really hard time finding this information on the Jekyll site, and this seemed like a reasonable place to put a pointer to the information. --- site/docs/posts.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/site/docs/posts.md b/site/docs/posts.md index a8f918f8..87d9b67e 100644 --- a/site/docs/posts.md +++ b/site/docs/posts.md @@ -41,6 +41,15 @@ file. For example, the following are examples of valid post filenames: 2012-09-12-how-to-write-a-blog.textile {% endhighlight %} +
+
ProTip™: Link to other posts
+

+ Use the post_url tag + to link to other posts without having to worry about changing URL + when you change permalink styles. +

+
+ ### Content Formats All blog post files must begin with [YAML front-matter](../frontmatter/). After From 1c8fef69aaeba26221c0f51320e8d1dcaafb4d49 Mon Sep 17 00:00:00 2001 From: Geoff Shannon Date: Fri, 18 Apr 2014 13:26:39 -0700 Subject: [PATCH 2/3] Remove "tag" from the link It looks super weird --- site/docs/posts.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site/docs/posts.md b/site/docs/posts.md index 87d9b67e..f2e49704 100644 --- a/site/docs/posts.md +++ b/site/docs/posts.md @@ -44,9 +44,9 @@ file. For example, the following are examples of valid post filenames:
ProTip™: Link to other posts

- Use the post_url tag - to link to other posts without having to worry about changing URL - when you change permalink styles. + Use the post_url + tag to link to other posts without having to worry about changing + URL when you change permalink styles.

From b07835b35c2e81334e5ed8c085df4eb8eab33fe2 Mon Sep 17 00:00:00 2001 From: Geoff Shannon Date: Fri, 18 Apr 2014 14:09:17 -0700 Subject: [PATCH 3/3] Reword slightly to fix typo Also avoid using "you" as well --- site/docs/posts.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/docs/posts.md b/site/docs/posts.md index f2e49704..eeb8b8e0 100644 --- a/site/docs/posts.md +++ b/site/docs/posts.md @@ -45,8 +45,8 @@ file. For example, the following are examples of valid post filenames:
ProTip™: Link to other posts

Use the post_url - tag to link to other posts without having to worry about changing - URL when you change permalink styles. + tag to link to other posts without having to worry about the URL's + breaking when the site permalink style changes.