Only load copy-and-paste helper on pages that use it

This change helps improve load times for key non-documentation pages
such as https://kubernetes.io/
This commit is contained in:
Tim Bannister
2020-09-29 18:27:45 +01:00
parent e2233f570a
commit 735410f17b
5 changed files with 44 additions and 72 deletions
-2
View File
@@ -8,8 +8,6 @@
{{ partial "deprecation-warning.html" . }}
{{ block "main" . }}{{ end }}
{{ partialCached "footer.html" . }}
<!-- Disabling this as elements queries do not appear to exist on case studies -->
<!-- {{ partialCached "footer-scripts.html" . }} -->
{{ partialCached "scripts.html" . }}
</body>