Skip to content

Commit b8ae95e

Browse files
committed
feat: update content.
1 parent 897d4b3 commit b8ae95e

File tree

4 files changed

+29
-5
lines changed

4 files changed

+29
-5
lines changed
1.16 MB
Loading
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: 'A Most Intense Debugging Experience'
3+
date: '2025-06-26'
4+
updated: '2025-06-26'
5+
draft: true
6+
tags: ['Career']
7+
featuredImage: blog/career-house-of-cards.jpeg
8+
summary: >
9+
...
10+
---
11+
12+
I'd been contracting with the company for 3 weeks.
13+
14+
My onboarding was a bit rough. I was tasked with developing an API middleware to help bridge the gap
15+
between the company's legacy system and a newer medical billing platform.

src/content/posts/career/new-venture-legacy-code.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
title: 'New Venture, Old Code'
33
date: '2025-06-09'
4-
updated: '2025-06-09'
5-
draft: true
4+
updated: '2025-06-26'
5+
draft: false
66
tags: ['Career']
7-
featuredImage: blog/direction.jpg
7+
featuredImage: blog/career-house-of-cards.jpeg
88
summary: >
9-
...
9+
I've been working in some old software lately. It's been running well since before I landed my
10+
first tech role... Serving customer needs. Driving revenue.
1011
---
1112

1213
I've been working in some old software lately.

src/pages/blog/index.astro

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@ import type { CollectionEntry } from 'astro:content';
77
type Post = CollectionEntry<'posts'>;
88
99
const posts = await getCollection('posts');
10-
const sortedPosts = posts.sort(
10+
11+
const publishedPosts = posts.filter((post: Post) => {
12+
if (import.meta.env.ENVIRONMENT === 'local') {
13+
return true;
14+
}
15+
return !post.data.draft;
16+
});
17+
18+
const sortedPosts = publishedPosts.sort(
1119
(a: Post, b: Post) => new Date(b.data.date).getTime() - new Date(a.data.date).getTime()
1220
);
1321

0 commit comments

Comments
 (0)