From 456cf011b36de91c9936994b1fa45703adcd309b Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Thu, 3 Jul 2025 10:56:21 +0300 Subject: Initial fork of chrismwilliams/astro-theme-cactus theme --- src/content/post/testing/draft-post.md | 9 +++++++++ src/content/post/testing/long-title.md | 8 ++++++++ src/content/post/testing/missing-content.md | 6 ++++++ src/content/post/testing/unique-tags.md | 12 ++++++++++++ 4 files changed, 35 insertions(+) create mode 100644 src/content/post/testing/draft-post.md create mode 100644 src/content/post/testing/long-title.md create mode 100644 src/content/post/testing/missing-content.md create mode 100644 src/content/post/testing/unique-tags.md (limited to 'src/content/post/testing') diff --git a/src/content/post/testing/draft-post.md b/src/content/post/testing/draft-post.md new file mode 100644 index 0000000..a0edc55 --- /dev/null +++ b/src/content/post/testing/draft-post.md @@ -0,0 +1,9 @@ +--- +title: "A working draft title" +description: "This post is for testing the draft post functionality" +publishDate: "10 March 2024" +tags: ["test"] +draft: true +--- + +If this is working correctly, this post should only be accessible in a dev environment, as well as any tags that are unique to this post. diff --git a/src/content/post/testing/long-title.md b/src/content/post/testing/long-title.md new file mode 100644 index 0000000..f79f330 --- /dev/null +++ b/src/content/post/testing/long-title.md @@ -0,0 +1,8 @@ +--- +title: "Lorem ipsum dolor sit, amet consectetur adipisicing elit. Id" +description: "This post is purely for testing if the css is correct for the title on the page" +publishDate: "01 Feb 2023" +tags: ["test"] +--- + +## Testing the title tag diff --git a/src/content/post/testing/missing-content.md b/src/content/post/testing/missing-content.md new file mode 100644 index 0000000..4b10c6f --- /dev/null +++ b/src/content/post/testing/missing-content.md @@ -0,0 +1,6 @@ +--- +title: "This post doesn't have any content" +description: "This post is purely for testing the table of content, which should not be rendered" +publishDate: "22 Feb 2023" +tags: ["test", "toc"] +--- diff --git a/src/content/post/testing/unique-tags.md b/src/content/post/testing/unique-tags.md new file mode 100644 index 0000000..887d279 --- /dev/null +++ b/src/content/post/testing/unique-tags.md @@ -0,0 +1,12 @@ +--- +title: "Unique tags validation" +publishDate: "30 January 2023" +description: "This post is used for validating if duplicate tags are removed, regardless of the string case" +tags: ["blog", "blog", "Blog", "test", "bloG", "Test", "BLOG"] +--- + +## This post is to test zod transform + +If you open the file `src/content/post/unique-tags.md`, the tags array has a number of duplicate blog strings of various cases. + +These are removed as part of the removeDupsAndLowercase function found in `src/content/config.ts`. -- cgit v1.2.3