Move meta and script tags that need cached to *_cached partials.
This commit is contained in:
parent
94493554ca
commit
2bcf1168c8
1 changed files with 9 additions and 6 deletions
|
|
@ -1,3 +1,2 @@
|
|||
{{ if $.Param "jquery" }}<script src="/js/jquery.min.js"></script>{{ end }}
|
||||
{{ if and ($.Param "jquery") ($.Param "slicknav") }}<script src="/js/jquery.slicknav.min.js"></script>{{ end }}
|
||||
{{ if $.Param "jquery" }}<script src="/js/script.js{{ if $.Param "cacheBustJS" }}?{{ readFile "/public/js/script.js" | sha1 }}{{ end }}"></script>{{ end }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue