2022-01-03 21:22:04 +03:00
|
|
|
{{if $.Site.Data.config.enableLinkPreview}}
|
2022-03-04 05:07:51 +03:00
|
|
|
{{ $js := resources.Get "js/popover.js" | resources.Fingerprint "md5" | resources.Minify }}
|
|
|
|
<script src="{{ $js.Permalink }}"></script>
|
2022-01-03 21:18:31 +03:00
|
|
|
<script>
|
2022-05-05 07:58:50 +03:00
|
|
|
const useContextual = {{ $.Site.Data.config.enableContextualBacklinks }}
|
|
|
|
initPopover({{strings.TrimRight "/" .Site.BaseURL }}, useContextual)
|
2022-01-03 21:22:04 +03:00
|
|
|
</script>
|
2022-05-05 07:58:50 +03:00
|
|
|
{{end}}
|