Hyas SEO
Official SEO integration for Hyas.
Status
Installation
npm i -D @hyas/seo
Setup
Add mounts to ./config/_default/module.toml
:
[[mounts]]
source = "node_modules/@hyas/seo/layouts"
target = "layouts"
[[mounts]]
source = "layouts"
target = "layouts"
Add to ./config/_default/hugo.toml
:
title = "Hyas"
enableRobotsTXT = true
[social]
twitter = "gethyas"
Set the seo
parameters in ./config/_default/params.yml
:
seo:
description: "Build your next web project with the official Bootstrap starter for Hyas."
generate:
title: true
meta: true
twitter: true
og: true
jsonld:
article: true
breadcrumbs: true
title_tag:
separator: "|"
home_text: "Bootstrap Starter"
og_article_types: [post, posts, blog, news, article, articles, event, events, course, courses]
jsonld_article_types: [article, articles]
jsonld_news_article_types: [news, updates]
jsonld_blog_posting_types: [post, posts, blog]
image: "/images/kris-mikael-krister-aGihPIbrtVE-unsplash.jpg"
private: false
How to use
See the Hyas documentation:
Credits
This npm package is based on the Hugo module: