feat: contextual backlinks (closes #106)
This commit is contained in:
parent
6e6dd4cb0b
commit
cea0f3eb74
7 changed files with 101 additions and 66 deletions
|
@ -2,6 +2,7 @@
|
|||
{{ $js := resources.Get "js/popover.js" | resources.Fingerprint "md5" | resources.Minify }}
|
||||
<script src="{{ $js.Permalink }}"></script>
|
||||
<script>
|
||||
initPopover({{strings.TrimRight "/" .Site.BaseURL }})
|
||||
const useContextual = {{ $.Site.Data.config.enableContextualBacklinks }}
|
||||
initPopover({{strings.TrimRight "/" .Site.BaseURL }}, useContextual)
|
||||
</script>
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue