Reference site: follow main's block and token fixes
- entryList entryCollection, post template hero with the title, legal templates noindex (drop the reference's own workarounds) - brand primary-inverse roles: 74/74 contrast pairs - /design shows Light and Dark panels (tokens switch on any element) Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
353e65e7bd
commit
e43198b2fe
@@ -32,10 +32,10 @@ export async function seedBasePages(seed: Seeder) {
|
||||
pageTemplates.services({ blocks }),
|
||||
pageTemplates.contact({ blocks, form: { $form: 'Contact form' } }),
|
||||
// The archive page lists its entries with an entry list block (the editor decides where)
|
||||
pageTemplates.blogIndex({ blocks, layout: (b) => [b[0], { blockType: 'entryList', collection: 'posts', limit: 9, mode: 'latest', variant: 'cards' }, ...b.slice(1)] }),
|
||||
{ ...pageTemplates.legal('privacyPolicy', { blocks }), noindex: true },
|
||||
{ ...pageTemplates.legal('termsOfService', { blocks }), noindex: true },
|
||||
{ ...pageTemplates.cookiePolicy({ blocks }), noindex: true },
|
||||
pageTemplates.blogIndex({ blocks, layout: (b) => [b[0], { blockType: 'entryList', entryCollection: 'posts', limit: 9, mode: 'latest', variant: 'cards' }, ...b.slice(1)] }),
|
||||
pageTemplates.legal('privacyPolicy', { blocks }),
|
||||
pageTemplates.legal('termsOfService', { blocks }),
|
||||
pageTemplates.cookiePolicy({ blocks }),
|
||||
pageTemplates.notFound({ blocks }),
|
||||
])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user