Skip to content

@thulite/core

Thulite core

Official core integration for Thulite.

Official Resources

Installation

Terminal window
npm i @thulite/core

Setup

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

[[mounts]]
source = "node_modules/@thulite/core/assets"
target = "assets"
[[mounts]]
source = "node_modules/@thulite/core/layouts"
target = "layouts"
[[mounts]]
source = "assets"
target = "assets"
[[mounts]]
source = "layouts"
target = "layouts"

Add to ./config/_default/hugo.toml:

baseurl = "http://localhost/"
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"]
[caches]
[caches.getjson]
dir = ":cacheDir/:project"
maxAge = -1
[caches.getcsv]
dir = ":cacheDir/:project"
maxAge = -1
[caches.images]
dir = ":cacheDir/images"
maxAge = "1440h"
[caches.assets]
dir = ":cacheDir/:project"
maxAge = -1
[caches.getresource]
dir = ":cacheDir/:project"
maxage = '1h'
[sitemap]
changefreq = "monthly"
filename = "sitemap.xml"
priority = 0.5
[minify.tdewolff.html]
keepWhitespace = false

Credits

This npm package is based on:

More integrations

UI Frameworks

Themes

Other integrations