thc-plugin-ttplate
v0.1.1
Published
Official title template plugin for @thcjs/core
Maintainers
Readme
thc-plugin-ttplate
Official title template plugin for @thcjs/core.
This plugin appends a site name to route titles using a configurable separator.
Installation
pnpm add @thcjs/core thc-plugin-ttplateUsage
import { createHeadController } from 'tanstack-head-controller'
import { thcTitleTemplate } from 'thc-plugin-ttplate'
const thc = createHeadController({
plugins: [
thcTitleTemplate({
siteName: 'My App',
separator: ' | ',
}),
],
})