Skip to content

Commit 9d95e52

Browse files
committed
feat: change order
1 parent d9f3efe commit 9d95e52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/coo/layout/index.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class="w-24 h-full bg-emerald-500 dark:bg-slate-800"></div>
1010
</div>
1111
<div class="w-full grid grid-cols-2 md:grid-cols-4 gap-6 md:gap-8 mb-6 text-slate-800">
12-
<% site.categories.findOne({name: category}).posts.sort('-date').map(function(post){ %>
12+
<% site.categories.findOne({name: category}).posts.sort('date').map(function(post){ %>
1313
<%- partial('_partial/index/card', {
1414
url: url_for(post.path),
1515
title: post.title,

0 commit comments

Comments
 (0)