Skip to content

Commit dbb2c2c

Browse files
committed
feat: removing read more column
1 parent 891b722 commit dbb2c2c

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
### :pencil: [Latest blog posts](https://blogs.devpulkit.in)
2323

2424
<!--START_SECTION:blog-posts-->
25-
| Title | Date | Image | Read More |
26-
| ----- | ---- | ----- | --------- |
27-
| [Building a Contact Form in Next.js with Resend Email Integration](https://blogs.devpulkit.in/emails-with-resend) | Dec 13, 2024 | <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1734081142688/30bd0035-ff2e-4a94-a3f3-5549231565e4.jpeg" width="200" height="auto" /> | [Read More](https://blogs.devpulkit.in/emails-with-resend) |
28-
| [Boost Your Link Previews: Implementing Open Graph Images in Next.js](https://blogs.devpulkit.in/open-graph-images-in-nextjs) | Nov 15, 2024 | <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1731658433998/70bdbb5d-1123-478d-b35a-316169ce5615.png" width="200" height="auto" /> | [Read More](https://blogs.devpulkit.in/open-graph-images-in-nextjs) |
29-
| [Setting Up Prisma ORM with PostgreSQL](https://blogs.devpulkit.in/setting-up-prisma-orm-with-postgresql) | Aug 17, 2024 | <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1734016058521/1d653d70-3204-40fa-9272-58298cd8e663.webp" width="200" height="auto" /> | [Read More](https://blogs.devpulkit.in/setting-up-prisma-orm-with-postgresql) |
30-
| [Adding Animated Image Zoom to Your React App with PhotoSwipe](https://blogs.devpulkit.in/react-image-gallery-with-photoswipe) | Aug 12, 2024 | <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1723050714944/ecb7f6c0-7151-4ce1-9c57-08c47e2a6625.jpeg" width="200" height="auto" /> | [Read More](https://blogs.devpulkit.in/react-image-gallery-with-photoswipe) |
25+
| Title | Date | Image |
26+
| ----- | ---- | ----- |
27+
| [Building a Contact Form in Next.js with Resend Email Integration](https://blogs.devpulkit.in/emails-with-resend) | Dec 13, 2024 | <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1734081142688/30bd0035-ff2e-4a94-a3f3-5549231565e4.jpeg" width="300" height="auto" />
28+
| [Boost Your Link Previews: Implementing Open Graph Images in Next.js](https://blogs.devpulkit.in/open-graph-images-in-nextjs) | Nov 15, 2024 | <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1731658433998/70bdbb5d-1123-478d-b35a-316169ce5615.png" width="300" height="auto" />
29+
| [Setting Up Prisma ORM with PostgreSQL](https://blogs.devpulkit.in/setting-up-prisma-orm-with-postgresql) | Aug 17, 2024 | <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1734016058521/1d653d70-3204-40fa-9272-58298cd8e663.webp" width="300" height="auto" />
30+
| [Adding Animated Image Zoom to Your React App with PhotoSwipe](https://blogs.devpulkit.in/react-image-gallery-with-photoswipe) | Aug 12, 2024 | <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1723050714944/ecb7f6c0-7151-4ce1-9c57-08c47e2a6625.jpeg" width="300" height="auto" />
3131
<!--END_SECTION:blog-posts-->
3232

3333
---

scripts/src/fetchLatestBlogPosts.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ async function main() {
5757
let readme = readFileSync(READMEFILE_PATH, "utf-8");
5858
readme = readme.replace(
5959
/(?<=<!--START_SECTION:blog-posts-->\n)[\s\S]*(?=\n<!--END_SECTION:blog-posts-->)/,
60-
`| Title | Date | Image | Read More |\n` +
61-
`| ----- | ---- | ----- | --------- |\n` +
60+
`| Title | Date | Image |\n` +
61+
`| ----- | ---- | ----- |\n` +
6262
blogs
6363
.map(
6464
(blog) =>
65-
`| [${blog.title}](${blog.url}) | ${blog.dateAdded} | <img src="${blog.coverImage.url}" width="200" height="auto" /> | [Read More](${blog.url}) |`
65+
`| [${blog.title}](${blog.url}) | ${blog.dateAdded} | <img src="${blog.coverImage.url}" width="300" height="auto" />`
6666
)
6767
.join("\n")
6868
);

0 commit comments

Comments
 (0)