refactor: renamed "pageName" to "pageTags"
This commit is contained in:
@@ -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 />
|
||||
|
||||
@@ -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">
|
||||
{
|
||||
|
||||
@@ -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">
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user