Custom Assets

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/css/custom.css and assets/js/custom.js.

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.

1customCSS = [
2  "external-foo.css",
3  "external-bar.css"
4]
5
6customJS = [
7  "external-foo.js",
8  "external-bar.js"
9]

Copyright

CC BY-NC-ND 4.0

Comments