Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Aaron Powell
2026-02-26 16:49:14 +11:00
committed by GitHub
parent d73c0bb1f3
commit 99a7ef8f69
2 changed files with 16 additions and 11 deletions

View File

@@ -54,7 +54,11 @@ const currentSlug = Astro.url.pathname.replace(/\/$/, '').split('/').pop();
<h1>{title}</h1>
{description && <p>{description}</p>}
<div class="article-meta">
{estimatedReadingTime && <span class="meta-item">📖 {estimatedReadingTime}</span>}
{estimatedReadingTime && (
<span class="meta-item">
<span aria-hidden="true">📖</span> {estimatedReadingTime}
</span>
)}
{lastUpdated && <span class="meta-item">Updated: {lastUpdated}</span>}
</div>
{tags && tags.length > 0 && (