Skip to content

Commit ff5768d

Browse files
committed
feat: add custom page title and subtitle for pagination route
1 parent 8ca53fe commit ff5768d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/pages/browse/[alpha]/[page].astro

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ export async function getStaticPaths({ paginate }) {
2626
}
2727
---
2828

29-
<BaseLayout>
29+
<BaseLayout
30+
pageTitle={`Browse jargons.dev`}
31+
subtitle={`Words Starting With "${params.alpha.toUpperCase()}" (Page ${page.currentPage})`}
32+
>
3033
<Navbar>
3134
<Search triggerSize="sm" dictionary={dictionary} client:load />
3235
</Navbar>

0 commit comments

Comments
 (0)