hexo/node_modules/hexo-theme-butterfly/layout/includes/loading/pace.pug

11 lines
281 B
Plaintext

script.
window.paceOptions = {
restartOnPushState: false
}
document.addEventListener('pjax:send', () => {
Pace.restart()
})
link(rel="stylesheet", href=url_for(theme.preloader.pace_css_url || theme.asset.pace_default_css))
script(src=url_for(theme.asset.pace_js))