feat: change order

This commit is contained in:
Fechin committed 2024-10-17 17:59:26 +08:00
1 parent d9f3efe663
commit 9d95e528f0
1 file changed
+1 -1
+1 -1
View File
@@ -9,7 +9,7 @@
<div class="w-24 h-full bg-emerald-500 dark:bg-slate-800"></div>
</div>
<div class="w-full grid grid-cols-2 md:grid-cols-4 gap-6 md:gap-8 mb-6 text-slate-800">
<% site.categories.findOne({name: category}).posts.sort('-date').map(function(post){ %>
<% site.categories.findOne({name: category}).posts.sort('date').map(function(post){ %>
<%- partial('_partial/index/card', {
url: url_for(post.path),
title: post.title,