Skip to content

Commit

Permalink
🐛 Fix: RelPermalink error in loading custom js (#189 #196)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Sep 12, 2022
1 parent 5750079 commit b67517c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/assets.html
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@

{{- /* Custom script */ -}}
{{- with ((resources.Get "js/custom.js") | default (resources.Get "js/_custom.js")) -}}
{{- dict "Source" .RelPermalink "Minify" true "Fingerprint" $fingerprint "Defer" true | dict "Scratch" $.Scratch "Data" | partial "scratch/script.html" -}}
{{- dict "Source" . "Minify" true "Fingerprint" $fingerprint "Defer" true | dict "Scratch" $.Scratch "Data" | partial "scratch/script.html" -}}
{{- end -}}

{{- with (.Scratch.Get "this").scriptArr -}}
Expand Down

1 comment on commit b67517c

@vercel
Copy link

@vercel vercel bot commented on b67517c Sep 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

fixit – ./

fixit-x-cell.vercel.app
fixit.lruihao.cn
fixit-git-master-x-cell.vercel.app
hugofixit.vercel.app

Please sign in to comment.