Sha256: 30b8786f22b8c25d60e0f354b8cf6baf8749e579710c5402dd4c2fcb9162c17e
Contents?: true
Size: 812 Bytes
Versions: 14
Compression:
Stored size: 812 Bytes
Contents
{% assign tsize = include.title | size %} {% for t in include.title %} {% if forloop.index == 1 %} <ul class="sublang {% if include.class %} {{include.class}}{% endif %}"> {% endif %} {% assign thislangurl = false %} {% for u in include.url %} {% if u[0] == t[0] %} {% assign thislangurl = u[1] %} {% endif %} {% endfor %} {% if thislangurl %} {% assign lng = t[0]%} <li lang="{{lng}}"> <span>{{site.data.lang[lng].name}}: </span> <a href="{{thislangurl}}" hreflang="{{lng}}"> {{t[1]}} {% unless lng == "en" %} (<span lang="{{lng}}">{{site.data.lang[lng].nativeName}}</span>) {% endunless %} {% if include.external %}{% include external.html %}{% endif %} </a> </li> {% endif %} {% if forloop.last %}</ul>{% endif %} {% endfor %}
Version data entries
14 entries across 14 versions & 1 rubygems