keroosha.cybergulag.today/layouts/partials/popover.html

9 lines
354 B
HTML
Raw Normal View History

2022-01-03 21:22:04 +03:00
{{if $.Site.Data.config.enableLinkPreview}}
{{ $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>
const useContextual = {{ $.Site.Data.config.enableContextualBacklinks }}
initPopover({{strings.TrimRight "/" .Site.BaseURL }}, useContextual)
2022-01-03 21:22:04 +03:00
</script>
{{end}}