Просмотр исходного кода

Updates filename reference to source_path

Caleb Fangmeier лет назад: 4
Родитель
Сommit
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>