AnguHashBlog / angular-primeng

πŸ…° Angular Blog Integration Template including PrimeNG: Seamlessly connects to Hashnode's APIs, effortlessly fetching and integrating your blog data. Compatible with any Hashnode blog.
https://angularprimeng.anguhashblog.com/
MIT License
10 stars 5 forks source link

Limit the blog post title length to 3 rows ~70 characters #49

Closed DongreJaipal closed 6 months ago

DongreJaipal commented 6 months ago

This PR Closes Issue closes

https://github.com/AnguHashBlog/angular-primeng/issues/30

Description

1.Limit the blog post title length to 3 rows ~70 characters 2.Created a custom pipe name (truncate) ,takes input (optional) for truncating the string to the desired length, and at the at the end of the string, added "..."Β . 3.used the truncate pipe in series and post components for post title.

What type of PR is this? (check all applicable)

Mobile & Desktop Screenshots/Recordings

[Attach screenshots or recordings if applicable]

Steps to QA

Added to documentation?

[Optional] Post-deployment tasks

[Specify any post-deployment tasks that need to be performed]

[Optional] What gif best describes this PR or how it makes you feel?

[Embed gif or describe the feeling in plain text]

monacodelisa commented 6 months ago

@DongreJaipal thank you :)