_macros.html
HTML document, ASCII text
1{% macro GenerateBreadcrumbs(pages=[]) %} 2<ol role="navigation" class="breadcrumbs" aria-roledescription="Site breadcrumb"> 3<li> 4<a href="/">Index</a> 5</li> 6{% for page in pages %} 7<li {% if loop.revindex0 == 0 %}aria-current="location"{% endif %}> 8{% if loop.revindex0 != 0 %}<a href="{{page['href']}}">{% endif %} 9{{page["title"]}} 10{% if loop.revindex0 != 0 %}</a>{% endif %} 11</li> 12{% endfor %} 13</ol> 14{%- endmacro %}