Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cntrump/hugo-notepadium.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvvveiii <cntrump@gmail.com>2019-12-31 18:07:11 +0300
committervvveiii <cntrump@gmail.com>2019-12-31 18:07:11 +0300
commit674139a0d67b066a2f7e2d8ba941faf59898153d (patch)
treea0a38948977250ad188c0e6aea9b8d767714b766 /README.md
parentab1479df6c31a012ccf5ba470bc97b025ce807eb (diff)
support add custom javascript files on user-side.
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index e50d0c2..5bebd7f 100644
--- a/README.md
+++ b/README.md
@@ -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/)