blob: 23b9e094fdf0d5191882c89ce57bc64eb7a26e9d (
plain)
1
2
3
4
5
6
7
|
{%- macro page_listing(page, config) %}
{%- set uglyurls = config.extra.uglyurls | default(value=false) -%}
{%- if config.extra.offline %}{% set uglyurls = true %}{% endif %}
<div class="toc-item">
<a href="{{ page.permalink | safe}}{%- if uglyurls %}index.html{%- endif %}">{{ page.title }}</a>
</div>
{%- endmacro page_listing %}
|