1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-24 16:43:15 +00:00

refactor(build): modularize JS code

- replace gulp with rollup
- remove JS output from repo
This commit is contained in:
Cotes Chung
2023-03-13 20:20:59 +08:00
parent 002f02533d
commit b69d3d7edd
55 changed files with 1267 additions and 1247 deletions

View File

@@ -0,0 +1,9 @@
import { convertTitle } from '../components/convert-title';
import { displaySearch } from '../components/search-display';
import { switchTopbar } from '../components/topbar-switcher';
export function initTopbar() {
convertTitle();
displaySearch();
switchTopbar();
}