mirror of
https://github.com/imfing/hextra.git
synced 2025-06-19 22:31:18 -04:00
refactor: concat built-in js scripts
chore: vendorize katex 0.16.8 chore: vendorize flexsearch 0.7.31 chore: add katex fonts chore: vendorize mermaid * add option to disable math globally chore: fix edit url nil variable chore: add comments
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
// {{ end }}
|
||||
|
||||
(function () {
|
||||
const searchDataURL = '{{ $searchData.Permalink }}';
|
||||
const searchDataURL = '{{ $searchData.RelPermalink }}';
|
||||
|
||||
const inputElements = document.querySelectorAll('.search-input');
|
||||
for (const el of inputElements) {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// Hamburger menu for mobile navigation
|
||||
|
||||
const menu = document.querySelector('.hamburger-menu');
|
||||
|
||||
menu.addEventListener('click', (e) => {
|
||||
|
Reference in New Issue
Block a user