Sha256: 2e0a9abf28c8ed256b493b3aa2519ff091cc4c8cb48ea5717a4bfcea946a91b6

Contents?: true

Size: 1.24 KB

Versions: 4

Compression:

Stored size: 1.24 KB

Contents

{% assign scriptData = site.data.[page.folderName][lang][file] %}
{%- assign dataAtt = "data-folderName='$folderName' data-lang='$lang' data-fileName='$fileName' data-tool='$tool'" -%}
{%- assign $folderName = '$folderName' -%}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" {%- if site.crossorigin
   -%} "crossorigin" {%- endif -%}></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"
   integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous" {%- if
   site.crossorigin -%} crossorigin {%- endif -%}></script>
{{site.data.customcdns.customcdns.jsfiles}}
{%- if scriptData.jsfilepaths -%}
{%- for path in scriptData.jsfilepaths -%}
<script src="{{path}}" data-folderName="{{page.folderName}}" data-lang="{{page.lang}}" data-fileName="{{page.fileName}}"
   data-tool="{{page.tool}}" {%- 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 |
replace: "$tool", page.tool }}
{%- endfor -%}
{%- endif -%}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
appscms-tools-theme-1.5.4 _includes/script.html
appscms-tools-theme-1.5.3 _includes/script.html
appscms-tools-theme-1.5.2 _includes/script.html
appscms-tools-theme-1.5.1 _includes/script.html