Ver código fonte

Updates filename reference to source_path

Caleb Fangmeier 4 anos atrás
pai
commit
5c11389d3c
1 arquivos alterados com 1 adições e 1 exclusões
  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>