浏览代码

Fix template for new nikola

Thomas Dy 9 年之前
父节点
当前提交
f371bf1a68
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      themes/pleasant3/templates/list.tmpl

+ 2 - 2
themes/pleasant3/templates/list.tmpl

@@ -8,8 +8,8 @@
     </header>
     %if items:
     <ul class="postlist">
-    % for text, link in items:
-        <li><a href="${link}">${text}</a>
+    % for text, link, count in items:
+        <li><a href="${link}">${text} (${count})</a>
     % endfor
     </ul>
     %else: