|
|
|
@ -113,7 +113,17 @@
|
|
|
|
|
addCollapsibleCallouts();
|
|
|
|
|
{{ 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}}
|
|
|
|
|
const footer = document.getElementById("footer")
|
|
|
|
|
if (footer) {
|
|
|
|
|
const container = document.getElementById("graph-container")
|
|
|
|
|
// retry if the graph is not ready
|
|
|
|
|
if (!container) return requestAnimationFrame(render)
|
|
|
|
@ -128,15 +138,7 @@
|
|
|
|
|
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}}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|