65f960c31a
- Ensure inline scripts execute after the DOM has fully loaded. - Use Rollup to bundle the theme-mode and Mermaid scripts, reducing the number of Jekyll include snippets.
8 lines
208 B
JavaScript
8 lines
208 B
JavaScript
import { basic, initSidebar, initTopbar } from './modules/layouts';
|
|
import { initLocaleDatetime, loadImg } from './modules/components';
|
|
|
|
loadImg();
|
|
initLocaleDatetime();
|
|
initSidebar();
|
|
initTopbar();
|
|
basic();
|