Skip to content

Commit

Permalink
refactor: change from application/js to text/js
Browse files Browse the repository at this point in the history
  • Loading branch information
Airscript committed Aug 22, 2022
1 parent 7940510 commit 5c4a6df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/extend_head.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
{{- end }}

{{ range .Site.Params.blogCustomScripts -}}
<script type="application/javascript" src="{{ . | absURL }}"></script>
<script type="text/javascript" src="{{ . | absURL }}"></script>
{{- end }}

{{ range .Site.Params.notificationsScripts -}}
<script type="application/javascript" src="{{ . | absURL }}"></script>
<script type="text/javascript" src="{{ . | absURL }}"></script>
{{- end }}

0 comments on commit 5c4a6df

Please sign in to comment.