update example site with trailing-url-less urls
This commit is contained in:
parent
0b8423a64f
commit
31fd5d444b
|
@ -2,10 +2,10 @@ pages:
|
||||||
|
|
||||||
- file_path: about.md
|
- file_path: about.md
|
||||||
title: About This Site
|
title: About This Site
|
||||||
url: /about/
|
url: /about
|
||||||
|
|
||||||
- file_path: joke.md
|
- file_path: joke.md
|
||||||
title: Joke
|
title: Joke
|
||||||
url: /joke/
|
url: /joke
|
||||||
alternate_urls:
|
alternate_urls:
|
||||||
- /trying-to-be-funny/
|
- /trying-to-be-funny
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<a href="{{ post.url }}">{{ post.title }}</a>
|
<a href="{{ post.url }}">{{ post.title }}</a>
|
||||||
<span class="tags">
|
<span class="tags">
|
||||||
{%- for tag in post.tags -%}
|
{%- for tag in post.tags -%}
|
||||||
<span><a href="/tag/{{ tag }}/">{{ tag }}</a></span>
|
<span><a href="/tag/{{ tag }}">{{ tag }}</a></span>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
<h2>My Site</h2>
|
<h2>My Site</h2>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="/">Home</a> |
|
<a href="/">Home</a> |
|
||||||
<a href="/archive/">Archive</a> |
|
<a href="/archive">Archive</a> |
|
||||||
<a href="/about/">About</a>
|
<a href="/about">About</a>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
{{ post.date | date(format="%B %e, %Y") }} —
|
{{ post.date | date(format="%B %e, %Y") }} —
|
||||||
<span class="tags">
|
<span class="tags">
|
||||||
{%- for tag in post.tags -%}
|
{%- for tag in post.tags -%}
|
||||||
<span><a href="/tag/{{ tag }}/">{{ tag }}</a></span>
|
<span><a href="/tag/{{ tag }}">{{ tag }}</a></span>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue