Compare commits

...

2 Commits

Author SHA1 Message Date
23c0a22f06 Orcashub: Add custom html pages 2025-04-11 19:59:41 -07:00
ff77e34f37 OrcasHub: Tweak page title format 2025-04-11 19:28:07 -07:00
5 changed files with 85 additions and 1 deletions

23
footer.html Normal file
View File

@ -0,0 +1,23 @@
Something here
<script>
function docReady(fn) {
// see if DOM is already available
if (document.readyState === "complete" || document.readyState === "interactive") {
// call on next available tick
setTimeout(fn, 1);
} else {
document.addEventListener("DOMContentLoaded", fn);
}
}
docReady(function() {
//const classes = document.querySelector('#dw__toc .toggle').classList;
//classes.remove('open');
//classes.add('closed');
setTimeout(() => {
// Close the table of contents.
//jQuery('#dw__toc .toggle').trigger('click')
}, 100);
});
</script>

27
images/logo.svg Executable file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 18 KiB

1
images/pencil.svg Executable file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#CCC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"/><path d="m15 5 4 4"/></svg>

After

Width:  |  Height:  |  Size: 341 B

View File

@ -2298,7 +2298,7 @@ data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">' .
}
$html = strip_tags($html);
$html = preg_replace('/\s+/', ' ', $html);
$html .= ' [' . strip_tags($conf['title']) . ']';
$html .= ' - ' . strip_tags($conf['title']);
return trim($html);
}

33
topheader.html Normal file

File diff suppressed because one or more lines are too long