mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-29 11:02:44 +00:00
Add clipboard JS
This commit is contained in:
@@ -46,7 +46,7 @@ const postJs = () => {
|
||||
`${JS_SRC}/utils/img-extra.js`,
|
||||
`${JS_SRC}/utils/timeago.js`,
|
||||
`${JS_SRC}/utils/checkbox.js`,
|
||||
`${JS_SRC}/utils/copy-link.js`,
|
||||
`${JS_SRC}/utils/clipboard.js`,
|
||||
// 'smooth-scroll.js' must be called after ToC is ready
|
||||
`${JS_SRC}/utils/smooth-scroll.js`
|
||||
], 'post'
|
||||
@@ -66,7 +66,7 @@ const pageJs = () => {
|
||||
`${JS_SRC}/commons/*.js`,
|
||||
`${JS_SRC}/utils/checkbox.js`,
|
||||
`${JS_SRC}/utils/img-extra.js`,
|
||||
`${JS_SRC}/utils/copy-link.js`,
|
||||
`${JS_SRC}/utils/clipboard.js`
|
||||
], 'page'
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user