Totaal

€10,00

Verzendkosten worden berekend bij het afrekenen.

presets

Default values that can be referenced by pages

Features

  • Uses same schema as pages
  • Can be referenced by pages, to automatically merge values
  • Global preset can be set which will be automatically merged with all pages

Frontmatter reference

Presets accept the exact same properties as the pages collection, except for the presets key, since this could potentially create a circular reference.

Configuring a base preset

To configure a base preset, you can set the basePreset option in your astro.config.ts file. It accepts the filepath of a preset in src/content/presets.

// astro.config.ts
import { defineConfig } from 'astro/config'
import fulldev from 'fulldev-ui/integration'

export default defineConfig({
  integrations: [
    fulldev({
      basePreset: 'base',
    }),
  ],
})

Example

seo:
  title: Default site title
  description: Default site description
  image: default-og-image.png

header:
  logo: logo.svg
  links:
    - docs
    - about
    - showcase
    - text: Custom link text
      href: /custom-link-href

footer:
  logo: logo.svg
  socials:
    - https://github.com/fulldotdev/ui
    - https://discord.gg/vXZqMbadm8