Cours-programmation/layouts/partials/popover.html

7 lines
263 B
HTML
Raw Permalink Normal View History

2022-04-09 22:14:01 +00:00
{{if $.Site.Data.config.enableLinkPreview}}
{{ $js := resources.Get "js/popover.js" | resources.Fingerprint "md5" | resources.Minify }}
<script src="{{ $js.Permalink }}"></script>
<script>
initPopover({{strings.TrimRight "/" .Site.BaseURL }})
</script>
{{end}}