quartz-research-note/layouts/partials/popover.html

7 lines
263 B
HTML
Raw Normal View History

2022-01-03 18:22:04 +00: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 18:18:31 +00:00
<script>
initPopover({{strings.TrimRight "/" .Site.BaseURL }})
2022-01-03 18:22:04 +00:00
</script>
{{end}}