Browse Source

Updates filename reference to source_path

Caleb Fangmeier 5 years ago
parent
commit
5c11389d3c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/index.html

+ 1 - 1
templates/index.html

@@ -90,7 +90,7 @@
             <h1 id="recent-posts">Chapters</h1>
             </header>
         <div class="recent-posts">
-            {% for article in articles|sort(attribute='filename') %}
+            {% for article in articles|sort(attribute='source_path') %}
             <article>
               <a href="{{ SITEURL }}/{{ article.url }}">{{"Chapter %d: %s" % (loop.index0, article.title) }}</a>
             </article>