The source code for my personal website and blog. hanna.lol
blog website

chore: remove useless comment

+1 -1
+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 - return secondDate - firstDate; // Note: reversed for newest first 9 + return secondDate - firstDate; 10 10 }); 11 11 12 12 const fmtDate = (date) => new Date(date).toLocaleString('en-US', {