remove .md ext in menu
This commit is contained in:
parent
4116713c1f
commit
2a832b1b8b
1 changed files with 3 additions and 2 deletions
|
@ -24,8 +24,9 @@
|
|||
<h1>{{garden_title}}</h1>
|
||||
<ul>
|
||||
{% for file in files %}
|
||||
<li class="{% if file is containing(".md") %}page{% else %}file{% endif %}"><a
|
||||
href="/{{file}}">{{file}}</a></li>
|
||||
<li class="{% if file is containing(".md") %}page{% else %}file{% endif %}">
|
||||
<a href="/{{file}}">{{file | trim_end_matches(pat=".md")}}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
Loading…
Reference in a new issue