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>
 | 
					            <h1>{{garden_title}}</h1>
 | 
				
			||||||
            <ul>
 | 
					            <ul>
 | 
				
			||||||
                {% for file in files %}
 | 
					                {% for file in files %}
 | 
				
			||||||
                <li class="{% if file is containing(".md") %}page{% else %}file{% endif %}"><a
 | 
					                <li class="{% if file is containing(".md") %}page{% else %}file{% endif %}">
 | 
				
			||||||
                        href="/{{file}}">{{file}}</a></li>
 | 
					                    <a href="/{{file}}">{{file | trim_end_matches(pat=".md")}}</a>
 | 
				
			||||||
 | 
					                </li>
 | 
				
			||||||
                {% endfor %}
 | 
					                {% endfor %}
 | 
				
			||||||
            </ul>
 | 
					            </ul>
 | 
				
			||||||
        </nav>
 | 
					        </nav>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue