update example site with trailing-url-less urls

This commit is contained in:
Gered 2023-07-10 14:17:18 -04:00
parent 0b8423a64f
commit 31fd5d444b
4 changed files with 7 additions and 7 deletions

View file

@ -2,10 +2,10 @@ pages:
- file_path: about.md
title: About This Site
url: /about/
url: /about
- file_path: joke.md
title: Joke
url: /joke/
url: /joke
alternate_urls:
- /trying-to-be-funny/
- /trying-to-be-funny

View file

@ -13,7 +13,7 @@
<a href="{{ post.url }}">{{ post.title }}</a>
<span class="tags">
{%- for tag in post.tags -%}
<span><a href="/tag/{{ tag }}/">{{ tag }}</a></span>
<span><a href="/tag/{{ tag }}">{{ tag }}</a></span>
{%- endfor -%}
</span>
</td>

View file

@ -17,8 +17,8 @@
<h2>My Site</h2>
<nav>
<a href="/">Home</a> |
<a href="/archive/">Archive</a> |
<a href="/about/">About</a>
<a href="/archive">Archive</a> |
<a href="/about">About</a>
</nav>
</header>
<main>

View file

@ -5,7 +5,7 @@
{{ post.date | date(format="%B %e, %Y") }} &mdash;
<span class="tags">
{%- for tag in post.tags -%}
<span><a href="/tag/{{ tag }}/">{{ tag }}</a></span>
<span><a href="/tag/{{ tag }}">{{ tag }}</a></span>
{%- endfor -%}
</span>
</div>