summaryrefslogtreecommitdiff
path: root/src/content/post/testing
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2025-07-03 10:56:21 +0300
committerDawid Rycerz <dawid@rycerz.xyz>2025-07-03 10:56:21 +0300
commit456cf011b36de91c9936994b1fa45703adcd309b (patch)
tree8e60daf998f731ac50d100fa490eaecae1168042 /src/content/post/testing
Initial fork of chrismwilliams/astro-theme-cactus theme
Diffstat (limited to 'src/content/post/testing')
-rw-r--r--src/content/post/testing/draft-post.md9
-rw-r--r--src/content/post/testing/long-title.md8
-rw-r--r--src/content/post/testing/missing-content.md6
-rw-r--r--src/content/post/testing/unique-tags.md12
4 files changed, 35 insertions, 0 deletions
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`.