Links: trailing-slash internal URLs (no dir-redirect → kills the :8080/cached-301 issue)
build-and-deploy / build (push) Failing after 13m10s

This commit is contained in:
2026-06-17 20:48:06 +10:00
parent a729484c7a
commit 1dc9c82cb3
9 changed files with 16 additions and 13 deletions
+3 -3
View File
@@ -14,10 +14,10 @@ const { entry } = Astro.props;
const { Content } = await render(entry);
---
<Layout title={entry.data.title} path={`/blog/${entry.id}`} description={entry.data.summary}>
<Layout title={entry.data.title} path={`/blog/${entry.id}/`} description={entry.data.summary}>
<article class="post">
<div class="container post__inner">
<a class="post__back mono" href="/blog">← All posts</a>
<a class="post__back mono" href="/blog/">← All posts</a>
<header class="post__head" data-reveal>
<div class="post__meta mono">
@@ -28,7 +28,7 @@ const { Content } = await render(entry);
<h1 class="post__title">{entry.data.title}</h1>
<ul class="post__tags">
{entry.data.tags.map((t) => (
<li><a class="tag" href={`/blog/tags/${t}`}>{t}</a></li>
<li><a class="tag" href={`/blog/tags/${t}/`}>{t}</a></li>
))}
</ul>
</header>