Skip to content

Commit 9830154

Browse files
committed
Add header images for blog posts
1 parent 1d5c758 commit 9830154

File tree

14 files changed

+153
-11
lines changed

14 files changed

+153
-11
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
6.21 MB
Loading

src/assets/blog/kubevirt.png

1.47 MB
Loading
1.41 MB
Loading
Lines changed: 67 additions & 0 deletions
Loading

src/assets/technologies/talos.svg

Lines changed: 1 addition & 0 deletions
Loading

src/content/blog/kubevirt.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ tags: ["kubernetes", "kubevirt", "virtualization", "kvm", "containers"]
66
excerpt:
77
"Discover how KubeVirt extends Kubernetes to run and manage virtual machines
88
alongside containers using the same APIs, tools, and workflows."
9+
image: ../../assets/blog/kubevirt.png
910
---
1011

1112
Running containers on Kubernetes is now the standard - but many organizations

src/content/blog/level-up-your-serverless-game.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ excerpt:
77
"Avoid common serverless pitfalls and level up your game with this
88
comprehensive guide covering logging, tracing, cold starts, security, and
99
deployment strategies."
10+
image: ../../assets/blog/serverless-game.png
1011
---
1112

1213
Is your serverless project running into unexpected snags? You're not alone. From

src/content/blog/make-the-most-out-of-external-workforce.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ excerpt:
77
"Maximize the value of external consultants with effective onboarding, clear
88
communication, and well-defined expectations to ensure they contribute
99
meaningfully to your project."
10+
image: ../../assets/blog/external-engineers.png
1011
---
1112

1213
So, you hired external engineers to help with your project — but now you realize

src/content/config.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ import { defineCollection, z } from "astro:content";
22

33
const blog = defineCollection({
44
type: "content",
5-
schema: z.object({
6-
title: z.string(),
7-
author: z.string(),
8-
date: z.date(),
9-
tags: z.array(z.string()),
10-
excerpt: z.string(),
11-
image: z.string().optional(),
12-
}),
5+
schema: ({ image }) =>
6+
z.object({
7+
title: z.string(),
8+
author: z.string(),
9+
date: z.date(),
10+
tags: z.array(z.string()),
11+
excerpt: z.string(),
12+
image: image().optional(),
13+
}),
1314
});
1415

1516
const customers = defineCollection({

0 commit comments

Comments
 (0)