js.build should give sandpoints.js relpermalink to work for _preview...

This commit is contained in:
Marcell Mars 2020-09-13 01:58:45 +02:00
parent f864c9764f
commit 10c67230a6
1 changed files with 1 additions and 1 deletions

View File

@ -29,6 +29,6 @@
{{ $sjsopts := dict "targetPath" "js/sandpoints.js" "minify" "true"}}
{{ $sjs := resources.Get "js/sandpoints.js" | js.Build $sjsopts }}
<script defer src='{{ $sjs.Permalink }}' type="application/javascript"></script>
<script defer src='{{ $sjs.RelPermalink }}' type="application/javascript"></script>
<title>{{ block "title" . }}{{- .Title }} - {{ .Site.Title -}}{{ end }}</title>
</head>