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.
This commit is contained in:
parent
571fb95cc1
commit
0b0d3b43a1
|
@ -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 %}
|
||||
|
||||
<div class="note">
|
||||
<h5>ProTip™: Link to other posts</h5>
|
||||
<p>
|
||||
Use the <a href="../templates#post_url"><code>post_url</code> tag</a>
|
||||
to link to other posts without having to worry about changing URL
|
||||
when you change permalink styles.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
### Content Formats
|
||||
|
||||
All blog post files must begin with [YAML front-matter](../frontmatter/). After
|
||||
|
|
Loading…
Reference in New Issue