Sha256: 3355e4afceae586d57b5fba9b212551329d7b8f5dc47070cd50314fb9b2e20cf
Contents?: true
Size: 1.53 KB
Versions: 10
Compression:
Stored size: 1.53 KB
Contents
{% if page.campaignGroupUid %} {% assign campaignGroup = site.data.campaigns | where: "groupUid", page.campaignGroupUid | first %} {% endif %} {% if campaignGroup %} <div class="o-section-block--spaceBot show-for-large"> <ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true"> <li class="c-widget-accordion-item is-active" data-accordion-item=""> <a href="#toc" class="c-widget-accordion-link"> <span class="c-widget-accordion__title">{{ campaignGroup.title }}</span> </a> <div class="c-widget-accordion-content" data-tab-content="" id="toc"> {% for campaign in campaignGroup.campaigns %} <h3 class="t-h5">{{ campaign.title }}</h3> <ul class="c-widget-accordion-list"> <ul> {% assign programSections = site.program | where: "campaignCategoryUid", campaign.categoryUid | sort:"order" %} {% for programSection in programSections %} <li><a class="c-emphasized-anchor {% if page.uid == programSection.uid %}active{% endif %}" href="{{ programSection.url | relative_url }}">{{ programSection.title }}</a></li> {% endfor %} </ul> </ul> {% endfor %} {% comment %}Allows to add custom content to program rbar{% endcomment %} {% include right-bar/program-extras.html %} </div> </li> </ul> </div> {% endif %}
Version data entries
10 entries across 10 versions & 1 rubygems