aboutsummaryrefslogtreecommitdiff
path: root/templates/macros/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/macros/page.html')
-rw-r--r--templates/macros/page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/macros/page.html b/templates/macros/page.html
index d5ef918..9c5b156 100644
--- a/templates/macros/page.html
+++ b/templates/macros/page.html
@@ -1,5 +1,5 @@
{%- macro page_listing(page) %}
<div class="toc-item">
- <a href="{{ page.permalink | safe}}" title="{{ page.title }}">{{ page.title }}</a>
+ <a href="{{ page.permalink | safe}}{%- if config.extra.uglyurls %}index.html{%- endif %}" title="{{ page.title }}">{{ page.title }}</a>
</div>
{%- endmacro page_listing %}