SPB Git

Repository Public

notfound.js 917 B 24 lines javascript

1/**2 * =============================================================================3 * SP BOUCHER | SOURCE FILE4 * =============================================================================5 * Project      : MacLustr LLM API6 * File         : web/assets/site/notfound.js7 * Author       : Simon-Pierre Boucher | https://spboucher.ai8 * Contact      : admin@spboucher.ai9 * Copyright    : (c) 2026 Simon-Pierre Boucher10 * License      : None specified (no license file in this repository)11 * =============================================================================12 * END OF SP BOUCHER SOURCE HEADER13 * =============================================================================14 */1516import { $, initChrome } from "/assets/site/core.js";1718initChrome();19const el = $("[data-nf-path]");20if (el && location.pathname !== "/404.html") {21  el.textContent = location.pathname.slice(0, 200);22  el.hidden = false;23}24
Files main
Menu

Theme