- {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined;}) =>
+ {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined; date_created : string | undefined;}) =>
{items.heading}
{items.title}

+
Publish at: {items.date_created.split(':')[0].split('T')[0]}
diff --git a/src/pages/bn/local/index.astro b/src/pages/bn/local/index.astro
index bba2496..eda3a90 100644
--- a/src/pages/bn/local/index.astro
+++ b/src/pages/bn/local/index.astro
@@ -8,7 +8,6 @@ const metaJSON = await fetchMeta.json();
const items = metaJSON.data[0];
// const imageData = data.image;
// const data = fetchDataJSON.data;
-// console.log()
---
Latest News
- {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined;}) =>
+ {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined; date_created : string | undefined;}) =>
{items.heading}
{items.title}

+
Publish at: {items.date_created.split(':')[0].split('T')[0]}
diff --git a/src/pages/bn/national/index.astro b/src/pages/bn/national/index.astro
index a54ed5e..76b53bf 100644
--- a/src/pages/bn/national/index.astro
+++ b/src/pages/bn/national/index.astro
@@ -32,12 +32,13 @@ const items = metaJSON.data[0];
Latest News
- {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined;}) =>
+ {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined; date_created: string | undefined;}) =>
{items.heading}
{items.title}

+
Publish at: {items.date_created.split(':')[0].split('T')[0]}
diff --git a/src/pages/bn/politics/index.astro b/src/pages/bn/politics/index.astro
index 79e17d9..ee5e3b9 100644
--- a/src/pages/bn/politics/index.astro
+++ b/src/pages/bn/politics/index.astro
@@ -33,12 +33,13 @@ const items = metaJSON.data[0];
Latest News
- {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined;}) =>
+ {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined; date_created : string | undefined;}) =>
{items.heading}
{items.title}

+
Publish at: {items.date_created.split(':')[0].split('T')[0]}
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 9a5d4c2..16b15d5 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -31,12 +31,13 @@ const items = metaJSON.data[0];
Latest News
- {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined;}) =>
+ {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined; date_created : string | undefined;}) =>
{items.heading}
{items.title}

+
Publish at: {items.date_created.split(':')[0].split('T')[0]}
diff --git a/src/pages/local/index.astro b/src/pages/local/index.astro
index 8d481b8..1d8bb38 100644
--- a/src/pages/local/index.astro
+++ b/src/pages/local/index.astro
@@ -33,12 +33,13 @@ const items = metaJSON.data[0];
Latest News
- {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined;}) =>
+ {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined; date_created : string | undefined;}) =>
{items.heading}
{items.title}

+
Publish at: {items.date_created.split(':')[0].split('T')[0]}
diff --git a/src/pages/national/index.astro b/src/pages/national/index.astro
index a0b06c3..74cda97 100644
--- a/src/pages/national/index.astro
+++ b/src/pages/national/index.astro
@@ -33,12 +33,13 @@ const items = metaJSON.data[0];
Latest News
- {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined;}) =>
+ {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined; date_created : string | undefined}) =>
{items.heading}
{items.title}

+
Publish at: {items.date_created.split(':')[0].split('T')[0]}
diff --git a/src/pages/politics/index.astro b/src/pages/politics/index.astro
index a742451..d2b9747 100644
--- a/src/pages/politics/index.astro
+++ b/src/pages/politics/index.astro
@@ -33,12 +33,13 @@ const items = metaJSON.data[0];
Latest News
- {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined;}) =>
+ {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined; date_created : string | undefined;}) =>
{items.heading}
{items.title}

+
Publish at: {items.date_created.split(':')[0].split('T')[0]}
diff --git a/src/pages/technology/index.astro b/src/pages/technology/index.astro
index 6134fe5..7efc00e 100644
--- a/src/pages/technology/index.astro
+++ b/src/pages/technology/index.astro
@@ -33,12 +33,13 @@ const items = metaJSON.data[0];
Latest News
- {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined;}) =>
+ {data.map((items: {heading: string | undefined; img: string | undefined; title : string | undefined; content : string | undefined; slug : string | undefined; date_created : string | undefined;}) =>
{items.heading}
{items.title}

+
Publish at: {items.date_created.split(':')[0].split('T')[0]}