_includes/script.html in appscms-tools-theme-1.8.8 vs _includes/script.html in appscms-tools-theme-1.8.9
- old
+ new
@@ -9,11 +9,11 @@
site.crossorigin -%} crossorigin {%- endif -%}></script>
{{site.data.customcdns.customcdns.jsfiles}}
{%- if scriptData.jsfilepaths -%}
{%- for path in scriptData.jsfilepaths -%}
<script defer="defer" src="{{path}}" data-folderName="{{page.folderName}}" data-lang="{{page.lang}}"
- data-fileName="{{page.fileName}}" data-tool="{{page.tool}}" {%- if site.crossorigin -%} crossorigin {%- endif
- -%}></script>
+ data-fileName="{{page.fileName}}" data-tool="{{page.tool}}" data-permalink="{{page.permalink}}" {%- if
+ site.crossorigin -%} crossorigin {%- endif -%}></script>
{%- endfor -%}
{%- endif -%}
{%- if scriptData.jscdns -%}
{%- for item in scriptData.jscdns -%}
{{item | replace:"$folderName", page.folderName | replace: "$fileName", page.fileName | replace: "$lang", page.lang |
\ No newline at end of file