I want to pull a blog post meta descritption for a post listing module I am designing for our homepage. Does anyone know of a way to do this? Or is there a way to truncate the body content to a certain character count?
Here is the module I am building:
{% set posts = blog_recent_posts ('default', 3) %}
{% for post in posts %}
<div class="background_focus_image span4 widget-span" style="background:linear-gradient(0deg, rgba(000,000,000,0.5), rgba(000,000,000,0.5)) repeat ,url({{ post.post_list_summary_featured_image }}) no-repeat center bottom; background-size: cover;">
<div class="homepage_title_backer">
<h2><a href="{{ post.absolute_url }}">{{ post.name }}</a></h2>
</div>
<div class="homepage_desc">
<p>{{ meta description or truncated contnet would go here }}</p>
</div>
<div class="homepage_CTA">
<a href="{{ post.absolute_url }}" class="hs-button">Read More</a>
</div>
</div>
{% endfor %}