Sha256: 79ff46d128f37d3c2148d76d3e383d2e28d11ff2b80ae88475a2a2e44464f97e
Contents?: true
Size: 972 Bytes
Versions: 12
Compression:
Stored size: 972 Bytes
Contents
{% assign navbar = site.data[site.navbar_data_dirname][site.navbar_data_filename] %} <div class="row bg-primary text-light"> {% assign sections = navbar | where: "visible_on", "footer" %} {% assign columns = sections.size %} {% case columns %} {% when 1 %} {% assign column_width = 12 %} {% when 2 %} {% assign column_width = 6 %} {% when 3 %} {% assign column_width = 4 %} {% when 4 %} {% assign column_width = 3 %} {% else %} {% assign column_width = 1 %} {% endcase %} {% for section in sections -%} <div class="col-xs-12 col-sm-6 col-lg-{{ column_width }} my-3"> <h6 class="fw-bold"><i class="{{ section.icon }}"></i> {{ section.name }}</h6> <ul class="nav flex-column"> {% for item in section.menu -%} <li class="nav-item"><a href="{{ site.url }}{{ site.baseurl }}{{ item.link }}" class="link-light">{{ item.name }}</a></li> {% endfor %} </ul> </div> {% endfor %} </div>
Version data entries
12 entries across 12 versions & 1 rubygems