Clean up the permalink front matter protip

Ref #4296.
This commit is contained in:
Parker Moore 2016-01-04 13:24:14 -08:00
parent ed815b0d2c
commit 1ea667474b
1 changed files with 5 additions and 6 deletions

View File

@ -91,11 +91,10 @@ simple and it works. In the end the decision is yours!
<div class="note">
<h5>ProTip™: Use permalink Front Matter Variable</h5>
<p>
Clean URLs can also be achieved using the <em>permalink</em> Front Matter variable. In the example above, using the first method, you can get URL <em>http://example.com/other</em> for the file <em>other.md</em> by adding this to the top of the file.
<pre>
---
permalink: /other/
---
</pre>
Clean URLs can also be achieved using the <code>permalink</code> front
matter variable. In the example above, using the first method, you can
get URL <code>http://example.com/other</code> for the file
<code>other.md</code> by setting this at the top of the file:
<code>permalink: /other</code>
</p>
</div>