fix: typo

This commit is contained in:
KazooTTT
2024-07-25 14:06:49 +08:00
parent ed0aa02c26
commit 484c103777

View File

@ -31,11 +31,11 @@ interface Props {
} }
const { page } = Astro.props const { page } = Astro.props
const { Category } = Astro.params const { category } = Astro.params
const meta = { const meta = {
description: `View all posts of Category - ${Category}`, description: `View all posts of Category - ${category}`,
title: `Category: ${Category}` title: `Category: ${category}`
} }
const paginationProps = { const paginationProps = {
@ -73,7 +73,7 @@ const paginationProps = {
</Button> </Button>
<h1 class='mb-6 mt-5 flex items-end gap-x-2 text-2xl font-bold'> <h1 class='mb-6 mt-5 flex items-end gap-x-2 text-2xl font-bold'>
Category: Category:
<span class='text-xl'>#{Category}</span> <span class='text-xl'>#{category}</span>
</h1> </h1>
<section aria-label='Blog post list'> <section aria-label='Blog post list'>
<ul class='flex flex-col gap-y-3 text-start'> <ul class='flex flex-col gap-y-3 text-start'>