mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 11:03:50 +00:00
Update date parsing on blog; fix Makefile
This commit is contained in:
1335
src/pnpm-lock.yaml
generated
1335
src/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@ title: My First Post!
|
||||
description: A quick introduction
|
||||
author: Timothy Pidashev
|
||||
tags: [greeting]
|
||||
date: January 9, 2025
|
||||
date: 2025-01-09
|
||||
image: "/blog/my-first-post/thumbnail.png"
|
||||
imagePosition: "center 30%"
|
||||
---
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
---
|
||||
import { getCollection } from "astro:content";
|
||||
import ContentLayout from "@/layouts/content.astro";
|
||||
|
||||
import { BlogPostList } from "@/components/blog/post-list";
|
||||
|
||||
const posts = (await getCollection("blog", ({ data }) => {
|
||||
return data.isDraft !== true;
|
||||
})).sort(
|
||||
(a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf()
|
||||
);
|
||||
})).sort((a, b) => {
|
||||
return new Date(b.data.date).valueOf() - new Date(a.data.date).valueOf()
|
||||
});
|
||||
---
|
||||
|
||||
<ContentLayout
|
||||
|
||||
@@ -7,7 +7,7 @@ import Hero from "@/components/hero";
|
||||
|
||||
<IndexLayout
|
||||
title="Timothy Pidashev"
|
||||
description="Turning coffee into code since 2018."
|
||||
description="Software engineer passionate about systems programming, artificial intelligence, and building innovative solutions. Personal site featuring my projects, technical blog, and research."
|
||||
>
|
||||
<Hero client:load />
|
||||
</IndexLayout>
|
||||
|
||||
Reference in New Issue
Block a user