diff --git a/src/pages/blog.astro b/src/pages/blog.astro index 4ed2710..1640174 100644 --- a/src/pages/blog.astro +++ b/src/pages/blog.astro @@ -10,68 +10,75 @@ import { Tweet, Vimeo, YouTube } from "astro-embed"; // Use Astro.glob() to fetch all posts, and then sort them by date. const posts = (await Astro.glob("./blog/*.{md,mdx}")).sort( - (a, b) => - new Date(b.frontmatter.publishDate).valueOf() - - new Date(a.frontmatter.publishDate).valueOf() + (a, b) => + new Date(b.frontmatter.publishDate).valueOf() - + new Date(a.frontmatter.publishDate).valueOf() ); console.log(posts[0].frontmatter.image); --- - + - - - - Our Blog - - - Our contributors write about topics and discussions around the - tech world. - - -

- To contribute, open the directory src/pages/blog on GitHub.
We are working on fixing canonical URLs. This - will help you share your blogs on Resource Gallery without - creating any SEO problems for your original blog.
- Open Issue: Improve the "Resource Gallery" and earn credits as early contributor🎉 -

-
-