Hyas SEO
Official SEO integration for Hyas.
Status
Installation
npm install @hyas/seo@latest
Setup
Add mounts to ./config/_default/module.toml
:
[[mounts]]
source = "node_modules/@hyas/seo/layouts"
target = "layouts"
[[mounts]]
source = "layouts"
target = "layouts"
Add settings to ./config/_default/hugo.toml
:
title = "Hyas"
enableRobotsTXT = true
Set parameters in ./config/_default/params.toml
:
title = "Hyas"
description = "Congrats on setting up a new Doks project!"
images = ["cover.png"]
[social]
twitter = "getdoks"
facebook_admin = ""
[seo]
[seo.title]
separator = ""
suffix = ""
[seo.favicons]
icon = "favicon.png"
svgIcon = "favicon.svg"
[seo.schemas]
type = "Organization"
logo = "favicon-512x512.png"
name = "Hyas"
sameAs = []
images = ["cover.png"]
article = []
newsArticle = []
blogPosting = ["blog"]
product = []
Set parameters in page frontmatter:
seo:
title: ""
description: ""
canonical: ""
robots: ""
structured_data:
product:
currency: USD
price: 500
availability: https://schema.org/OnlineOnly
How to use
See the Hyas SEO documentation:
Credits
This npm package is based on: