js.build should give sandpoints.js relpermalink to work for _preview...
This commit is contained in:
parent
f864c9764f
commit
10c67230a6
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue