Jacky Zhao
2022-05-05 cea0f3eb743b26db0d5297ab10e229617585fe0c
layouts/partials/popover.html
@@ -2,6 +2,7 @@
{{ $js := resources.Get "js/popover.js" |  resources.Fingerprint "md5" | resources.Minify }}
<script src="{{ $js.Permalink }}"></script>
<script>
  initPopover({{strings.TrimRight "/" .Site.BaseURL }})
  const useContextual = {{ $.Site.Data.config.enableContextualBacklinks }}
  initPopover({{strings.TrimRight "/" .Site.BaseURL }}, useContextual)
</script>
{{end}}
{{end}}