_includes/script.html in appscms-tools-theme-1.5.4 vs _includes/script.html in appscms-tools-theme-1.5.5

- old
+ new

@@ -1,11 +1,11 @@ {% assign scriptData = site.data.[page.folderName][lang][file] %} {%- assign dataAtt = "data-folderName='$folderName' data-lang='$lang' data-fileName='$fileName' data-tool='$tool'" -%} {%- assign $folderName = '$folderName' -%} -<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" {%- if site.crossorigin - -%} "crossorigin" {%- endif -%}></script> -<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js" +<script defer="defer" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" {%- if site.crossorigin + -%} crossorigin {%- endif -%}></script> +<script defer="defer" src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous" {%- if site.crossorigin -%} crossorigin {%- endif -%}></script> {{site.data.customcdns.customcdns.jsfiles}} {%- if scriptData.jsfilepaths -%} {%- for path in scriptData.jsfilepaths -%} @@ -16,6 +16,9 @@ {%- if scriptData.jscdns -%} {%- for item in scriptData.jscdns -%} {{item | replace:"$folderName", page.folderName | replace: "$fileName", page.fileName | replace: "$lang", page.lang | replace: "$tool", page.tool }} {%- endfor -%} -{%- endif -%} +{%- endif -%} +<link defer="defer" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" + integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" + crossorigin="anonymous" referrerpolicy="no-referrer" {%- if site.crossorigin -%} crossorigin {%- endif -%} /> \ No newline at end of file