Skip to content

Commit 414b1e6

Browse files
authored
Update Micro.astro
1 parent 5346c34 commit 414b1e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/Micro.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ const { Content } = await micro.render()
2222
class="card border border-[hsl(var(--muted-foreground))] p-4 flex flex-col gap-2 max-w-[80ch]"
2323
>
2424
<div class="content border-b border-[hsl(var(--muted-foreground))]">
25-
<h1 transition:name={`title-${slug}`} class="text-xl mb-2">{title}</h1>
25+
<a href={`/micro/${slug}/`} class="h-fit">
26+
<h1 transition:name={`title-${slug}`} class="text-xl mb-2">{title}</h1>
27+
</a>
2628
<time
2729
transition:name={`date-${slug}`}
2830
class="text-sm text-[hsl(var(--muted-foreground))]"

0 commit comments

Comments
 (0)