aboutsummaryrefslogtreecommitdiff
path: root/templates/macros/page.html
diff options
context:
space:
mode:
authorJieiku2022-05-31 02:54:13 -0700
committerJieiku2022-05-31 02:54:13 -0700
commit0c213684ead5d3c4a14a17d2e06a6a31188b6a55 (patch)
treee29fd8d7b1f6d54d680440a50cc41bd8762b2dd3 /templates/macros/page.html
parent64a9b12ea4262ed8bb49367902af5ec803f13444 (diff)
downloadabridge-0c213684ead5d3c4a14a17d2e06a6a31188b6a55.tar.gz
abridge-0c213684ead5d3c4a14a17d2e06a6a31188b6a55.tar.bz2
abridge-0c213684ead5d3c4a14a17d2e06a6a31188b6a55.zip
Add UglyUrls for Local Build, Restructure SCSS
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 %}