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