This commit is contained in:
lifehackerhansol 2026-06-20 11:19:09 +00:00 committed by GitHub
commit 19b2f9ee93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 31 additions and 0 deletions

View File

@ -6,6 +6,10 @@ hero:
tagline: "A guide collaboration between Nintendo Homebrew's Helpers and Staff, from stock to Aroma custom firmware."
image:
src: "/assets/img/home-page-feature.jpg"
head: [
['script', {src: '/assets/js/docsify-wrapper.js'}]
]
---
::: tip

View File

@ -0,0 +1,27 @@
/*
Copyright (C) 2024 Nintendo Homebrew
SPDX-License-Identifier: MIT
*/
const map = new WeakMap()
function checkDocsify(callback) {
if (map.has(callback))
return;
map.set(callback, true);
if (document.readyState === 'complete')
callback();
else
window.addEventListener('load', callback, false);
}
checkDocsify(() => {
if(!window.location.hash)
return;
if(window.location.hash[1] == '/') {
path = window.location.hash.substring(1);
window.location.href = path;
}
})