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:
@@ -85,7 +85,6 @@
|
||||
<meta property="og:image" content="{{ "/images/kubernetes-horizontal-color.png" | relURL }}">
|
||||
{{ end }}
|
||||
<meta property="og:type" content="{{ $ogType }}">
|
||||
<script src="{{ "js/sweetalert-2.1.2.min.js" | relURL }}"></script>
|
||||
|
||||
{{ if .HasShortcode "mermaid" }}
|
||||
<!-- Copied from https://unpkg.com/mermaid@8.5.0/dist/mermaid.min.js -->
|
||||
|
||||
Reference in New Issue
Block a user