Skip to content

Latest commit

 

History

History
74 lines (55 loc) · 1.54 KB

manual-setup.md

File metadata and controls

74 lines (55 loc) · 1.54 KB
title description summary date lastmod draft weight toc seo
Manual Setup
2023-11-08 12:26:26 +0100
2023-11-08 12:26:26 +0100
false
120
true
title description canonical robots

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:

{{< tabs "install-images" >}} {{< tab "npm" >}}

npm install @hyas/seo@latest

{{< /tab >}} {{< tab "pnpm" >}}

pnpm install @hyas/seo@latest

{{< /tab >}} {{< tab "Yarn" >}}

yarn add @hyas/seo@latest

{{< /tab >}} {{< /tabs >}}

This will install the required dependencies.

Update mounts

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

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

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

Customize SEO

{{< link-card title="Customize SEO" description="Update settings, parameters, and page frontmatter." href="/docs/start-here/customizing-seo/"

}}