Since `v0.68.0`, HBS uses Hugo Pipes to generate CSS and JS assets, there are a lot of breaking changes, please check out the
CHANGELOG and
UPGRADE for details.
This theme provides several kinds of layouts, such as posts and docs.
Our documentation uses the docs layout. If you're looking for an example that using posts layout,
please take a look at the page Markdown Syntax.
As a customizable theme, it provides the ability to customize assets, whether it is customizing CSS and JS or introducing third-party CSS and JS.
Internal Assets
Just create and edit the files assets/main/scss/_variables.scss, assets/main/scss/_custom.scss and assets/main/js/custom.ts.
These files will be bundled into one for reducing HTTP requests.
External Assets
Any external CSS and JS resources can be imported by the customCSS and customJS parameters.
Comments