Sha256: 8ed80df98899fcbc14cbba5e7074cf2f662c0e563a774e32ca24af8091756457

Contents?: true

Size: 1.13 KB

Versions: 4

Compression:

Stored size: 1.13 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"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></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}}"  ></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.3.5 _includes/script.html
appscms-tools-theme-1.3.4 _includes/script.html
appscms-tools-theme-1.3.3 _includes/script.html
appscms-tools-theme-1.3.2 _includes/script.html