1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-31 03:53:35 +00:00

Create the code language badge by Liquid

It prevents the language badges from flashing
This commit is contained in:
Cotes Chung
2021-07-04 20:09:45 +08:00
parent 65dbea9d3b
commit 5f1e6e9350
6 changed files with 33 additions and 26 deletions

View File

@@ -45,7 +45,6 @@ const postJs = () => {
`${JS_SRC}/commons/*.js`,
`${JS_SRC}/utils/img-extra.js`,
`${JS_SRC}/utils/timeago.js`,
`${JS_SRC}/utils/lang-badge.js`,
`${JS_SRC}/utils/checkbox.js`,
`${JS_SRC}/utils/copy-link.js`,
// 'smooth-scroll.js' must be called after ToC is ready