Closed tushargugnani closed 2 years ago
@tushargugnani, the post_excerpt
column in the database is empty for all posts
@tapan288 ok, I will check this, We might have to get that manually by stripping off the content after certain characters.
I've tried doing that, but it renders like this:
And if I try to render it, the design gets messed up
What if we strip the Html tags using {!! $a !!}
?
That's what I meant when I said render, the design gets messed up
Something like this maybe?
{!! str_limit(strip_tags($post->text), $limit = 50, $end = '...') !!}
Fixed via #13
Currently we are only getting blog post heading, using the corcel API also get the tags and excerpt of the post.![Screenshot 2022-09-09 at 11 29 12 AM](https://user-images.githubusercontent.com/5244323/189281505-232c6646-64a9-4fab-af7a-ef36ca3817dc.png)