Manual Setup

The quickest way to get started with SEO is using a Hyas theme with SEO already installed. If you want to add SEO to an existing Hyas project, this guide will explain how.

Set up SEO

To follow this guide, you’ll need an existing Hyas project.

Add the integration

SEO is a Hyas integration. Add it to your site by running the following command in your project’s root directory:

This will install the required dependencies.

Update mounts

Add mounts to ./config/_default/module.toml:

module.toml
## layouts
[[mounts]]
  source = "node_modules/@hyas/seo/layouts"
  target = "layouts"

[[mounts]]
  source = "layouts"
  target = "layouts"

Customize SEO

Customize SEO

Update settings, parameters, and page frontmatter.