Sha256: 064bb833e4c1b92c0349047dde5059a03e57d84741e17e365705c29c84e3f0b0

Contents?: true

Size: 1.62 KB

Versions: 21

Compression:

Stored size: 1.62 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 defer="defer" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" {%- if site.crossorigin
   -%} crossorigin {%- endif -%}></script>
<script defer="defer" 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 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>
{%- 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 -%}
<link defer="defer" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
   integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w=="
   crossorigin="anonymous" referrerpolicy="no-referrer" {%- if site.crossorigin -%} crossorigin {%- endif -%} />

Version data entries

21 entries across 21 versions & 1 rubygems

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