Merge branch 'hugo' into fix-popover

This commit is contained in:
Aiden Bai 白宇彤 2022-05-03 09:33:00 -07:00 committed by GitHub
commit 3789df80e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -69,7 +69,6 @@
import { init } from '{{$router.Permalink}}';
init(() => {
drawGraph(
{{strings.TrimRight "/" .Page.Permalink}},
{{strings.TrimRight "/" .Site.BaseURL}},
{{$.Site.Data.graphConfig.paths}},
{{$.Site.Data.graphConfig.depth}},
@ -77,7 +76,7 @@
{{$.Site.Data.graphConfig.enableLegend}},
{{$.Site.Data.graphConfig.enableZoom}}
);
{{if $.Site.Data.config.enableLinkPreview}}
initPopover({{strings.TrimRight "/" .Site.BaseURL }})
{{end}}