tangled
alpha
login
or
join now
doll.sister.pet
/
website
1
fork
atom
The source code for my personal website and blog.
hanna.lol
blog
website
1
fork
atom
overview
issues
pulls
pipelines
chore: remove useless comment
doll.sister.pet
2 months ago
4d7f730b
a29c4f82
+1
-1
1 changed file
expand all
collapse all
unified
split
src
pages
blog
index.astro
+1
-1
src/pages/blog/index.astro
···
6
6
})).sort((a, b) => {
7
7
const firstDate = new Date(a.frontmatter.date).valueOf();
8
8
const secondDate = new Date(b.frontmatter.date).valueOf();
9
9
-
return secondDate - firstDate; // Note: reversed for newest first
9
9
+
return secondDate - firstDate;
10
10
});
11
11
12
12
const fmtDate = (date) => new Date(date).toLocaleString('en-US', {