Sha256: 06f8933c934546d654223ca793656c0a4c778569ae6f55e47c04faa1759388ef

Contents?: true

Size: 1.24 KB

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
appscms-tools-theme-1.5.0 _includes/script.html