refactor: renamed "pageName" to "pageTags"

This commit is contained in:
2024-08-03 03:20:26 +02:00
parent 1509984afb
commit 27317b38b1
12 changed files with 22 additions and 14 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ const { entry } = Astro.props
const { Content } = await entry.render()
---
<ArticleLayout {...entry.data} pageName={['guida', entry.data.id, entry.data.series && 'series']}>
<ArticleLayout {...entry.data} pageTags={['guida', entry.data.id, entry.data.series && 'series']}>
<h1>{entry.data.title}</h1>
{entry.data.series && <div class="series">Serie: {entry.data.series}</div>}
<Content />
+1 -1
View File
@@ -6,7 +6,7 @@ import PageLayout from '@layouts/PageLayout.astro'
const guides = await getCollection('guides')
---
<PageLayout pageName="guide">
<PageLayout pageTags="guide">
<h1>Guide</h1>
<div class="card-list">
{
+1 -1
View File
@@ -33,7 +33,7 @@ interface Props {
const { tag, guides } = Astro.props
---
<PageLayout pageName="guide tag">
<PageLayout pageTags="guide tag">
<h1>Guide > #{tag}</h1>
<div class="card-list">
{