|
|
@ -113,7 +113,17 @@
|
|
|
|
addCollapsibleCallouts();
|
|
|
|
addCollapsibleCallouts();
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{if $.Site.Data.config.enableLinkPreview}}
|
|
|
|
|
|
|
|
initPopover(
|
|
|
|
|
|
|
|
{{strings.TrimRight "/" .Site.BaseURL }},
|
|
|
|
|
|
|
|
{{$.Site.Data.config.enableContextualBacklinks}},
|
|
|
|
|
|
|
|
{{$.Site.Data.config.enableLatex}}
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
|
|
|
|
{{if $.Site.Data.config.enableFooter}}
|
|
|
|
{{if $.Site.Data.config.enableFooter}}
|
|
|
|
|
|
|
|
const footer = document.getElementById("footer")
|
|
|
|
|
|
|
|
if (footer) {
|
|
|
|
const container = document.getElementById("graph-container")
|
|
|
|
const container = document.getElementById("graph-container")
|
|
|
|
// retry if the graph is not ready
|
|
|
|
// retry if the graph is not ready
|
|
|
|
if (!container) return requestAnimationFrame(render)
|
|
|
|
if (!container) return requestAnimationFrame(render)
|
|
|
@ -128,15 +138,7 @@
|
|
|
|
drawGlobal ? {{$.Site.Data.graphConfig.globalGraph}} : {{$.Site.Data.graphConfig.localGraph}}
|
|
|
|
drawGlobal ? {{$.Site.Data.graphConfig.globalGraph}} : {{$.Site.Data.graphConfig.localGraph}}
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
{{end}}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{if $.Site.Data.config.enableLinkPreview}}
|
|
|
|
|
|
|
|
initPopover(
|
|
|
|
|
|
|
|
{{strings.TrimRight "/" .Site.BaseURL }},
|
|
|
|
|
|
|
|
{{$.Site.Data.config.enableContextualBacklinks}},
|
|
|
|
|
|
|
|
{{$.Site.Data.config.enableLatex}}
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|