diff options
author | vvveiii <cntrump@gmail.com> | 2019-12-31 18:07:11 +0300 |
---|---|---|
committer | vvveiii <cntrump@gmail.com> | 2019-12-31 18:07:11 +0300 |
commit | 674139a0d67b066a2f7e2d8ba941faf59898153d (patch) | |
tree | a0a38948977250ad188c0e6aea9b8d767714b766 /README.md | |
parent | ab1479df6c31a012ccf5ba470bc97b025ce807eb (diff) |
support add custom javascript files on user-side.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -19,6 +19,7 @@ Features - Light & Dark Mode - Google analytics supporting - Custom CSS supporting +- Custom JS supporting Preview the exampleSite: @@ -242,6 +243,25 @@ On user-side: `color.css` and `font.css` will be bundled into `core.css`. +### Custom JS supporting + +``` +[params.assets] +js = ["js/font.js", "js/color.js"] +``` + +On user-side: + +``` +. +└── assets + └── js + ├── color.js + └── font.js +``` + +`color.js` and `font.js` will be bundled into `core.js`. + ## Thanks - [**Hugo**](https://gohugo.io/) |