Merge branch 'master' into 2257-inequality-conditions
[arvados.git] / doc / _includes / _webring.liquid
1 {% assign n = 0 %}
2 {% assign prev = "" %}
3 {% assign nx = 0 %}
4 {% for section in site.navbar[page.navsection] %}
5   {% for entry in section %}
6     {% for item in entry[1] %}        
7       {% assign p = site.pages[item] %}
8       {% if nx == 1 %}
9         <hr>
10         {% if prev != "" %}
11           <a href="{{ site.baseurl }}{{ prev.url }}" class="pull-left">Previous: {{ prev.title }}</a></li>
12         {% endif %}
13         <a href="{{ site.baseurl }}{{ p.url }}" class="pull-right">Next: {{ p.title }}</a></li>            
14         {% assign nx = 0 %}
15         {% assign n = 1 %}
16       {% endif %}
17       {% if p.url == page.url %}
18         {% assign nx = 1 %}
19       {% else %}
20         {% assign prev = p %}
21       {% endif %}
22     {% endfor %}
23   {% endfor %}
24 {% endfor %}
25 {% if n == 0 && prev != "" %}
26   <hr>
27   <a href="{{ site.baseurl }}{{ prev.url }}" class="pull-left">Previous: {{ prev.title }}</a></li>  
28   {% assign n = 1 %}
29 {% endif %}