_includes/cssfile/links.html in appscms-tools-theme-1.9.9 vs _includes/cssfile/links.html in appscms-tools-theme-2.0.1
- old
+ new
@@ -1,12 +1,12 @@
-{% assign cssData = site.data.[page.folderName][lang][file] %}
-{{site.data.customcdns.customcdns.cssfiles}}
-{%- if cssData.cssfilepaths -%}
-{%- for path in cssData.cssfilepaths -%}
-<link defer rel="stylesheet" href="{{path}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
-{%- endfor -%}
-{%- endif -%}
-{%- if cssData.csscdns -%}
-{%- for item in cssData.csscdns -%}
-{{item}}
-{%- endfor -%}
+{% assign cssData = site.data.[page.folderName][lang][file] %}
+{{site.data.customcdns.customcdns.cssfiles}}
+{%- if cssData.cssfilepaths -%}
+{%- for path in cssData.cssfilepaths -%}
+<link defer rel="stylesheet" href="{{path}}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%- endif -%}>
+{%- endfor -%}
+{%- endif -%}
+{%- if cssData.csscdns -%}
+{%- for item in cssData.csscdns -%}
+{{item}}
+{%- endfor -%}
{%- endif -%}
\ No newline at end of file