3de82e3b9b
Drop ?v=N version pins from all JS imports and HTML <link>/<script> tags. Cache invalidation is now handled solely by server-side cache-control headers. Update docs and AGENTS.md accordingly.
16 lines
420 B
JavaScript
16 lines
420 B
JavaScript
import { html, PageHeader, definePage } from '/static/hoover/index.js';
|
|
|
|
export default definePage({
|
|
init() {
|
|
return { path: location.hash.slice(1) || '' };
|
|
},
|
|
render(state) {
|
|
return [
|
|
PageHeader({ title: '404' }),
|
|
html`<div class="card">
|
|
<div class="card-body text-muted">Page not found: ${state.path}</div>
|
|
</div>`,
|
|
];
|
|
},
|
|
});
|