Skip to content

Commit fe14d72

Browse files
committed
Fix content collections
1 parent dff2bea commit fe14d72

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+40
-40
lines changed

bun.lockb

-22.7 KB
Binary file not shown.

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,27 @@
2828
"@iconify-json/uiw": "^1.2.1",
2929
"@types/react": "^18.3.12",
3030
"@types/react-dom": "^18.3.1",
31-
"astro": "5.0.1",
32-
"astro-icon": "1.1.2",
33-
"astro-purgecss": "4.8.0",
31+
"astro": "5.0.4",
32+
"astro-icon": "1.1.4",
33+
"astro-purgecss": "5.0.0",
3434
"autoprefixer": "^10.4.20",
3535
"date-fns": "^4.1.0",
3636
"mermaid": "11.4.0",
3737
"postcss-nested": "^7.0.2",
38-
"purgecss": "^6.0.0",
38+
"purgecss": "^7.0.0",
3939
"react": "^18.3.1",
4040
"react-dom": "^18.3.1",
4141
"sharp": "^0.33.5",
4242
"styled-components": "^6.1.13"
4343
},
4444
"devDependencies": {
4545
"@mermaid-js/mermaid-cli": "11.4.0",
46-
"prettier": "3.3.3",
46+
"prettier": "3.4.2",
4747
"prettier-plugin-astro": "0.14.1",
48-
"vite-plugin-fable": "^0.0.31"
48+
"vite-plugin-fable": "^0.0.32"
4949
},
5050
"trustedDependencies": [
51+
"astro",
5152
"sharp",
5253
"vite-plugin-fable"
5354
]

src/content/blog/BobKonf2024.md renamed to src/blog/BobKonf2024.md

Lines changed: 2 additions & 2 deletions

src/content/blog/DataScienceConf2023.md renamed to src/blog/DataScienceConf2023.md

Lines changed: 2 additions & 2 deletions

src/content/blog/FSharpFormattingTwenty.md renamed to src/blog/FSharpFormattingTwenty.md

Lines changed: 3 additions & 3 deletions

src/content/blog/HingGracefully.md renamed to src/blog/HingGracefully.md

Lines changed: 3 additions & 3 deletions

src/content/blog/PortingFsih.md renamed to src/blog/PortingFsih.md

Lines changed: 6 additions & 6 deletions

src/content/blog/SwitchPackageToProjRef.md renamed to src/blog/SwitchPackageToProjRef.md

Lines changed: 1 addition & 1 deletion

src/content.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { glob } from "astro/loaders";
44

55
// 2. Define your collection(s)
66
const testimonialCollection = defineCollection({
7-
loader: glob({ pattern: "[^_]*.md", base: "./src/content/testimonials" }),
7+
loader: glob({ pattern: "*.md", base: "./src/testimonials" }),
88
schema: ({ image }) =>
99
z.object({
1010
title: z.string(),
@@ -16,7 +16,7 @@ const testimonialCollection = defineCollection({
1616
});
1717

1818
const sessionCollection = defineCollection({
19-
loader: glob({ pattern: "**/[^_]*.md", base: "./src/content/sessions" }),
19+
loader: glob({ pattern: "*.md", base: "./src/sessions" }),
2020
schema: ({ image }) => {
2121
return z.object({
2222
title: z.string(),
@@ -36,7 +36,7 @@ const sessionCollection = defineCollection({
3636
});
3737

3838
const blogCollection = defineCollection({
39-
loader: glob({ pattern: "**/[^_]*.md", base: "./src/content/blog" }),
39+
loader: glob({ pattern: "*.md", base: "./src/blog" }),
4040
schema: ({ image }) => {
4141
return z.object({
4242
title: z.string(),

src/pages/testimonials/[...id].astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export async function getStaticPaths() {
2929
3030
const { entry, prevLink, nextLink, color } = Astro.props;
3131
const { Content } = await render(entry);
32-
console.log(entry);
3332
const { title, author, profilePicture } = entry.data;
3433
const pageTitle = `Testimonial of ${title}`;
3534
const mainTitle = pageTitle;

0 commit comments

Comments
 (0)