Skip to content

Commit

Permalink
fix some of characters will be automatic encode
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengchun committed Dec 17, 2023
1 parent 89b8b68 commit 5fab562
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/sections/before-body-end.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script src="{{ .Site.Params.bootstrap.cdn.js_bundle }}" integrity="{{ .Site.Params.bootstrap.cdn.js_bundle_hash }}" crossorigin="anonymous"></script>
{{ printf `<script src="%s" integrity="%s" crossorigin="anonymous"></script>` .Site.Params.bootstrap.cdn.js_bundle .Site.Params.bootstrap.cdn.js_bundle_hash | safeHTML }}
{{ $vendor := resources.Match "js/vendor/*.js" }}
{{ $js := resources.Match "js/*.js" }}
{{ $bundleJS := $vendor | append $js | resources.Concat "/assets/js/main.js" | fingerprint }}
Expand Down
3 changes: 1 addition & 2 deletions layouts/partials/sections/head-src.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<link rel="stylesheet" href="{{ .Site.Params.cdn.css }}" integrity="{{ .Site.Params.cdn.css_hash }}" crossorigin="anonymous">

{{ printf `<link rel="stylesheet" href="%s" integrity="%s" crossorigin="anonymous">` .Site.Params.cdn.css .Site.Params.cdn.css_hash | safeHTML}}
{{ $targetCssPath := "/css/site.css" }}
{{ $sassOptions := dict "targetPath" $targetCssPath "outputStyle" "expanded" "precision" 6 }}
{{ if hugo.IsProduction }}
Expand Down

0 comments on commit 5fab562

Please sign in to comment.