Compare commits
No commits in common. "f864c9764f10a7a06f9c5079e959056547208d20" and "07549ecf34447a2c94a5a138fd76d150878fdda8" have entirely different histories.
f864c9764f
...
07549ecf34
|
@ -434,7 +434,6 @@ body {
|
|||
|
||||
.header {
|
||||
display: grid;
|
||||
grid-template-columns: auto;
|
||||
grid-auto-flow: column;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
|
|
@ -53,14 +53,11 @@ window.addEventListener('DOMContentLoaded', (e) => {
|
|||
document.querySelector("#TableOfContents > ol:first-child").insertBefore(s, document.querySelector("#TableOfContents > ol:first-child").firstChild)
|
||||
|
||||
if (document.querySelector(".soundcite")) {
|
||||
let relPath ="../".repeat(relPathDepth - 1);
|
||||
|
||||
var popcorn = document.createElement('script');
|
||||
popcorn.src = `${relPath}js/popcorn.min.js`;
|
||||
popcorn.src = `/js/popcorn.min.js`;
|
||||
document.body.appendChild(popcorn);
|
||||
|
||||
var soundcite = document.createElement('script');
|
||||
soundcite.src = `${relPath}js/soundcite.min.js`;
|
||||
soundcite.src = `/js/soundcite.min.js`;
|
||||
document.body.appendChild(soundcite);
|
||||
|
||||
}
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#996561">
|
||||
|
||||
<script type="text/javascript">var relPathDepth = {{ .RelPermalink | strings.Count "/" }};</script>
|
||||
|
||||
{{ $sjsopts := dict "targetPath" "js/sandpoints.js" "minify" "true"}}
|
||||
{{ $sjs := resources.Get "js/sandpoints.js" | js.Build $sjsopts }}
|
||||
<script defer src='{{ $sjs.Permalink }}' type="application/javascript"></script>
|
||||
|
|
Loading…
Reference in New Issue