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