リンクにtailing slashをつける
This commit is contained in:
parent
b3436621f3
commit
74d2572234
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
<h1>{title}</h1>
|
||||
<ul>
|
||||
{#each items as item}
|
||||
<li><a href="{item.url}">{item.page}</a></li>
|
||||
<li><a href="./{item.url}/">{item.page}</a></li>
|
||||
{/each}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<div class="posts">
|
||||
{#each data.posts as post}
|
||||
<article class:unpublished={!post.metadata.published}>
|
||||
<a style='text-decoration:none; color:currentColor;' href="../post/{post.postId}" tabindex="0">
|
||||
<a style='text-decoration:none; color:currentColor;' href="../post/{post.postId}/" tabindex="0">
|
||||
<Postgrid {...post.metadata}></Postgrid>
|
||||
</a>
|
||||
</article>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue