Installation
npm i @hyas/core -D
Setup
Add to ./config/_default/module.toml
:
[[mounts]]
source = "node_modules/@hyas/core/assets"
target = "assets"
[[mounts]]
source = "node_modules/@hyas/core/layouts"
target = "layouts"
[[mounts]]
source = "assets"
target = "assets"
[[mounts]]
source = "layouts"
target = "layouts"
Add to ./config/_default/config.toml
:
baseurl = "https://hyas.netlify.app/"
canonifyURLs = false
disableAliases = true
disableHugoGeneratorInject = true
disableKinds = ["taxonomy", "term"]
enableEmoji = true
enableGitInfo = false
enableRobotsTXT = true
languageCode = "en-US"
paginate = 7
rssLimit = 10
[outputs]
home = ["HTML", "RSS"]
[caches]
[caches.getjson]
dir = ":cacheDir/:project"
maxAge = "10s"
[sitemap]
changefreq = "monthly"
filename = "sitemap.xml"
priority = 0.5
[minify.tdewolff.html]
keepWhitespace = false
Add to ./config/_default/params.toml
:
## Chrome Browser
themeColor = "#fff"
# Feed
copyRight = "Copyright (c) 2020-2021 Henk Verlinde"
Usage
See the Hyas docs: Quick Start