{post.data.title}
+ +{post.data.description}
+ Read More +diff --git a/package-lock.json b/package-lock.json
index 5cab963..e7e2583 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -14,6 +14,7 @@
"astro": "^4.15.4",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.6",
+ "dayjs": "^1.11.13",
"mdast-util-to-string": "^4.0.0",
"reading-time": "^1.5.0",
"sass": "^1.78.0",
@@ -2894,6 +2895,12 @@
"integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==",
"license": "CC0-1.0"
},
+ "node_modules/dayjs": {
+ "version": "1.11.13",
+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz",
+ "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==",
+ "license": "MIT"
+ },
"node_modules/debug": {
"version": "4.3.7",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
diff --git a/package.json b/package.json
index c7e0958..b90156a 100644
--- a/package.json
+++ b/package.json
@@ -18,6 +18,7 @@
"astro": "^4.15.4",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.6",
+ "dayjs": "^1.11.13",
"mdast-util-to-string": "^4.0.0",
"reading-time": "^1.5.0",
"sass": "^1.78.0",
diff --git a/src/components/PostElement.astro b/src/components/PostElement.astro
new file mode 100644
index 0000000..889cc47
--- /dev/null
+++ b/src/components/PostElement.astro
@@ -0,0 +1,46 @@
+---
+import dayjs from "dayjs";
+
+const { post } = Astro.props;
+---
+
+
+
+ {post.data.description}{post.data.title}
+
+