aboutsummaryrefslogtreecommitdiff
blob: a8cdfbdafec6bf174635763dfa37a7e3b23b1843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{% assign pages_list2 = pages_list | sort:"nav2-weight" %}
{% for node in pages_list2 %}
  {% if page.nav1 == node.nav1 and node.nav1-show != true and node.nav2-show == true %}
    {% if page.nav2 == node.nav2 %}
      <li class="active"><a href="{{node.url | replace:'index.html',''}}" class="active">{% if node.navtitle %}{{ node.navtitle }}{% else %}{{node.title}}{% endif %}</a></li>
    {% else %}
      <li><a href="{{node.url | replace:'index.html',''}}">{% if node.navtitle %}{{ node.navtitle }}{% else %}{{node.title}}{% endif %}</a></li>
    {% endif %}
  {% endif %}
{% endfor %}
{% assign pages_list = nil %}
{% assign pages_list2 = nil %}