Bootstrap starter theme for Hyas sites.
npm i @hyas/themes-starter-bootstrap -D
Add to ./config/_default/module.toml
:
[[mounts]]
source = "node_modules/@hyas/themes-starter-bootstrap/archetypes"
target = "archetypes"
[[mounts]]
source = "node_modules/@hyas/themes-starter-bootstrap/assets"
target = "assets"
[[mounts]]
source = "node_modules/@hyas/themes-starter-bootstrap/layouts"
target = "layouts"
[[mounts]]
source = "archetypes"
target = "archetypes"
[[mounts]]
source = "assets"
target = "assets"
[[mounts]]
source = "layouts"
target = "layouts"
Add to ./config/_default/config.toml
:
[taxonomies]
category = "categories"
[permalinks]
blog = "/:title/"
[related]
threshold = 80
includeNewer = true
toLower = false
[[related.indices]]
name = "categories"
weight = 100
[[related.indices]]
name = "date"
weight = 10
Add to ./config/_default/params.toml
:
# Footer
footer = "Powered by <a href=\"https://www.netlify.com/\">Netlify</a>, <a href=\"https://gohugo.io/\">Hugo</a>, and <a href=\"https://gethyas.com/\">Hyas</a>"
# Alert
alert = false
alertDismissable = true
alertText = "Deliver web projects 10x faster. <a class=\"alert-link\" href=\"https://www.netlify.com/whitepaper/\" target=\"_blank\" rel=\"noopener\">Get the free enterprise paper →</a>"
See the Hyas docs: Themes