need some ideas to add content in blog listing page

hello guy,

I need some idea to add paragraph just below the heading Screenshot by Lightshot (prnt.sc) [ how and from where we can add the text ]

Here is the code.

<div class=“post-body clearfix”>
<!--post summary-->
{% if content.post_list_summary_featured_image %}
<div class=“hs-featured-image-wrapper”>
<a href=“{{content.absolute_url}}” title=“” class=“hs-featured-image-link”>
<img src=“{{ content.post_list_summary_featured_image }}” class=“hs-featured-image” alt=“{{ content.featured_image_alt_text | escape }}”>
</a>
</div>
{% endif %}
<h2><a href=“{{content.absolute_url}}”>{{ content.name }}</a></h2>
{{ content.post_list_content|safe }}
</div>

Thanks,

Hi @Jane_deepma,

Thanks for reaching out!

I would like to add some experts to our conversation.

Hey @Anton, @stefen, @piersg, @Teun, @Sjardo - Do you have any tips for @Jane_deepma on how they could add text to their blog template?

Thanks!

Kristen

Hi,

To add content based on your blog post itself, you can add this:

{{ post.post_list_content }}

To be a little bit more safe with the output, try this:
{{ post.post_list_content|safe|striptags|truncatehtml(190) }}
With the 190 number, you can truncate the content to set a maximum characters.
If you have any other questions, let me know.