Sha256: 5b4250ae858de1219b6646290dccd0eb11bf508d770d80a8e6bb62dfbaceef5c

Contents?: true

Size: 1.04 KB

Versions: 79

Compression:

Stored size: 1.04 KB

Contents

{% assign file = page.fileName %} {% assign lang = page.lang %} {% assign folder
= page.folderName %} {% assign langData = site.data[folder][lang][file] %} {%-
assign langsupport = page.langsupport -%} {%- assign variable =
site.data.languagesupport[langsupport]-%} {%- if variable.langsupport -%}
<div class="lang-dropdown">
  <button
    class="btn btn-light dropdown-toggle lang-dropdown-btn"
    type="button"
    id="dropdownMenu2"
    data-toggle="dropdown"
    aria-expanded="false"
  >
    {{langData.Language}}
  </button>
  <ul class="dropdown-menu drop-down-wrapper" aria-labelledby="dropdownMenu2">
    {%- for item in variable.langsupport -%} {%- if langData.Language ==
    item.lang -%}
    <a
      class="lang-dropdown-item py-1"
      style="background: rgba(149, 148, 151, 0.397)"
      class=".lang-dropdown-item"
      href="{{item.permalink}}"
      >{{item.lang}}</a
    >
    {%- else -%}
    <a class="lang-dropdown-item py-1" href="{{item.permalink}}"
      >{{item.lang}}</a
    >
    {%- endif -%} {%- endfor -%}
  </ul>
</div>
{%- endif -%}

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
appscms-tools-theme-4.9.4 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.9.3 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.9.2 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.9.1 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.9.0 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.8.9 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.8.8 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.8.7 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.8.6 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.8.5 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.8.4 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.7.7 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.7.6 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.7.5 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.7.4 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.7.3 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.7.2 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.7.1 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.7.0 _includes/dropdown/langdropdown.html
appscms-tools-theme-4.6.9 _includes/dropdown/langdropdown.html