mirror of https://github.com/onweru/compose.git

weru
28.23.2023 64b50b6403d876042fe9ad9d831f8eaff6f5ba07
uncache scripts #101

Signed-off-by: weru <fromweru@gmail.com>
2 files modified
8 ■■■■ changed files
layouts/_default/baseof.html 6 ●●●● patch | view | raw | blame | history
layouts/partials/scripts/bundle.html 2 ●●● patch | view | raw | blame | history
layouts/_default/baseof.html
@@ -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>
layouts/partials/scripts/bundle.html
@@ -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 }}