hexo-theme-stellar/layout/_plugins/search/local_search.ejs

8 lines
219 B
Plaintext
Raw Permalink Normal View History

2024-02-12 23:07:56 +08:00
<script>
window.addEventListener('DOMContentLoaded', (event) => {
ctx.search = {
path: `<%- conf.path || '/search.json' %>`,
}
utils.js('/js/search/local-search.js', { defer: true });
});
</script>