mirror of
https://github.com/falsycat/ar.falsy.cat.git
synced 2024-12-27 08:54:51 +00:00
9 lines
354 B
HTML
9 lines
354 B
HTML
{{if $.Site.Data.config.enableLinkPreview}}
|
|
{{ $js := resources.Get "js/popover.js" | resources.Fingerprint "md5" | resources.Minify }}
|
|
<script src="{{ $js.Permalink }}"></script>
|
|
<script>
|
|
const useContextual = {{ $.Site.Data.config.enableContextualBacklinks }}
|
|
initPopover({{strings.TrimRight "/" .Site.BaseURL }}, useContextual)
|
|
</script>
|
|
{{end}}
|