_includes/cssfile/links.html in appscms-tools-theme-4.8.3 vs _includes/cssfile/links.html in appscms-tools-theme-4.8.4
- old
+ new
@@ -1,54 +1,54 @@
-{% assign cssData = site.data.[page.folderName][lang][file] %}
-{{site.data.customcdns.customcdns.cssfiles}} {%- if cssData.cssfilepaths -%} {%-
-for path in cssData.cssfilepaths -%} {%- assign asset_dir = path -%} {%- if
-site.versioning and asset_dir != "" -%} {%- if asset_dir contains "https" and
-asset_dir contains "https://" -%}
-<link
- defer
- rel="stylesheet"
- href="{{path}}"
- {%-
- if
- site.crossorigin
- -%}
- {{
- }}
- crossorigin="anonymous"
- {%-
- endif
- -%}
-/>
-{%- else -%}
-<link
- defer
- rel="stylesheet"
- href="{% ministamp { source_path: '{{ asset_dir }}', destination_path: '{{ asset_dir }}' } %}"
- {%-
- if
- site.crossorigin
- -%}
- {{
- }}
- crossorigin="anonymous"
- {%-
- endif
- -%}
-/>
-{%- endif -%} {%- else -%}
-<link
- defer
- rel="stylesheet"
- href="{{path}}"
- {%-
- if
- site.crossorigin
- -%}
- {{
- }}
- crossorigin="anonymous"
- {%-
- endif
- -%}
-/>
-{%- endif -%} {%- endfor -%} {%- endif -%} {%- if cssData.csscdns -%} {%- for
-item in cssData.csscdns -%} {{item}} {%- endfor -%} {%- endif -%}
+{% assign cssData = site.data.[page.folderName][lang][file] %}
+{{site.data.customcdns.customcdns.cssfiles}} {%- if cssData.cssfilepaths -%} {%-
+for path in cssData.cssfilepaths -%} {%- assign asset_dir = path -%} {%- if
+site.versioning and asset_dir != "" -%} {%- if asset_dir contains "https" and
+asset_dir contains "https://" -%}
+<link
+ defer
+ rel="stylesheet"
+ href="{{path}}"
+ {%-
+ if
+ site.crossorigin
+ -%}
+ {{
+ }}
+ crossorigin="anonymous"
+ {%-
+ endif
+ -%}
+/>
+{%- else -%}
+<link
+ defer
+ rel="stylesheet"
+ href="{% ministamp { source_path: '{{ asset_dir }}', destination_path: '{{ asset_dir }}' } %}"
+ {%-
+ if
+ site.crossorigin
+ -%}
+ {{
+ }}
+ crossorigin="anonymous"
+ {%-
+ endif
+ -%}
+/>
+{%- endif -%} {%- else -%}
+<link
+ defer
+ rel="stylesheet"
+ href="{{path}}"
+ {%-
+ if
+ site.crossorigin
+ -%}
+ {{
+ }}
+ crossorigin="anonymous"
+ {%-
+ endif
+ -%}
+/>
+{%- endif -%} {%- endfor -%} {%- endif -%} {%- if cssData.csscdns -%} {%- for
+item in cssData.csscdns -%} {{item}} {%- endfor -%} {%- endif -%}