提交 dba56986 编写于 作者: 折影轻梦

首页分类排序

上级 2b131d20
......@@ -10,7 +10,7 @@
</div>
<div class="container">
<div class="category">
<% site.categories.sort('name').map(function(category){ %>
<% site.categories.sort('length').map(function(category){ %>
<% let coverx = ""
category.posts.sort('-date').map(function(post){
if(post.cover!==undefined && coverx==""){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册