リンクに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>
|
<h1>{title}</h1>
|
||||||
<ul>
|
<ul>
|
||||||
{#each items as item}
|
{#each items as item}
|
||||||
<li><a href="{item.url}">{item.page}</a></li>
|
<li><a href="./{item.url}/">{item.page}</a></li>
|
||||||
{/each}
|
{/each}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<div class="posts">
|
<div class="posts">
|
||||||
{#each data.posts as post}
|
{#each data.posts as post}
|
||||||
<article class:unpublished={!post.metadata.published}>
|
<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>
|
<Postgrid {...post.metadata}></Postgrid>
|
||||||
</a>
|
</a>
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue