mirror of
https://github.com/rvtr/wiki.git
synced 2025-10-31 06:31:13 -04:00
Remove full "index.html", not just the extension
This commit is contained in:
parent
c6a2340158
commit
84d407da86
@ -31,7 +31,7 @@ layout: compress
|
||||
<!-- First do the index -->
|
||||
{% for item in items %}
|
||||
{% if item.url contains "index.html" %}
|
||||
<li class="li-bullet {% if page.title == item.title %}fw-bold{% endif %}"><a href="{{ item.url | remove: ".html" }}">{{ item.title }}</a></li>
|
||||
<li class="li-bullet {% if page.title == item.title %}fw-bold{% endif %}"><a href="{{ item.url | remove: "index.html" }}">{{ item.title }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<!-- Then the pages not in categories -->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user