_includes/script.html in appscms-tools-theme-2.8.8 vs _includes/script.html in appscms-tools-theme-2.8.9

- old
+ new

@@ -36,14 +36,11 @@ {%- for item in scriptData.jscdns -%} {{item | replace:"$folderName", page.folderName | replace: "$fileName", page.fileName | replace: "$lang", page.lang | replace: "$tool", page.tool }} {%- endfor -%} {%- endif -%} -<script src="//cdnjs.cloudflare.com/ajax/libs/webfont/1.6.28/webfontloader.js" crossorigin="anonymous"></script> -{%- assign font = "Source Sans Pro" -%} - {%- if page.layout == "frame" -%} {%- assign font = "PT Sans" -%} {%- endif -%} {%- if page.layout == "photo-effects-home" -%} @@ -55,10 +52,8 @@ {%- endif -%} {%- if page.layout == 'home-1' or page.layout == "feature-1" -%} {%- assign font = "Inter" -%} {%- endif -%} - -<script>WebFont.load({ google: { families: ['{{font}}:200,300,400,500,600,700,800&display=swap'] } })</script> <link 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" /> \ No newline at end of file