Sfoglia il codice sorgente

Updates filename reference to source_path

Caleb Fangmeier 5 anni fa
parent
commit
5c11389d3c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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>