浏览代码

Updates filename reference to source_path

Caleb Fangmeier 4 年之前
父节点
当前提交
5c11389d3c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>