Skip to content

Commit

Permalink
uncache scripts #101
Browse files Browse the repository at this point in the history
Signed-off-by: weru <fromweru@gmail.com>
  • Loading branch information
onweru committed Feb 28, 2023
1 parent 474dcbf commit 64b50b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,7 @@
{{ end }}
{{- partialCached "footer" . -}}
{{- partialCached "sprites" . -}}
{{- with .Translations }}
{{- partial "scripts/bundle" $context -}}
{{- else }}
{{- partialCached "scripts/bundle" . -}}
{{- end }}
{{- partial "scripts/bundle" . -}}
{{- partial "scripts/other" . -}}
</body>
</html>
2 changes: 1 addition & 1 deletion layouts/partials/scripts/bundle.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

{{- partial "scripts/getJsBundle" (dict "scripts" (slice $variables $functions $code $mode $main $custom) "slug" "bundle" "inline" true) }}

{{- partialCached "scripts/search" . -}}
{{- partial "scripts/search" . -}}
{{- partialCached "hooks/scripts" . -}}

{{- with site.Params.customJS }}
Expand Down

0 comments on commit 64b50b6

Please sign in to comment.