# Separate Blog Post Excerpt

**URL:** <https://community.hubspot.com/t/separate-blog-post-excerpt/63676>\
**Category:** CMS Development\
**Created:** [August 24, 2022, 8:18pm UTC](https://community.hubspot.com/t/separate-blog-post-excerpt/63676 "2022-08-24T20:18:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmcmillan99](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tmcmillan99/32/93181_2.png) [@tmcmillan99](https://community.hubspot.com/u/tmcmillan99)\
**Post date:** [August 24, 2022, 8:18pm UTC](https://community.hubspot.com/t/separate-blog-post-excerpt/63676/1 "2022-08-24T20:18:54Z")

</div>

Instead of displaying the first few lines of the actual post, is it possible to create a separate blog post excerpt that can be used on the blog listing template?

We are migrating a client to CMS from Squarespace and the Squarespace blog has its own excerpt field.

I haven’t been able to find any possible solutions yet. Would it need to be a custom module on the post template?

Thanks,

Terry

---

<div class="post-metadata">

**Author:** ![BarryGrennan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/barrygrennan/32/97794_2.png) [@BarryGrennan](https://community.hubspot.com/u/BarryGrennan)\
**Post date:** [August 24, 2022, 9:26pm UTC](https://community.hubspot.com/t/separate-blog-post-excerpt/63676/2 "2022-08-24T21:26:19Z")

</div>

Yes, you could create a custom field for it in the post template if you wanted. A lot of the time I’ll just use the post meta description. But if that differs from the excerpt you want it has to be a custom field.

* * *

 ![profile2022a.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7273a34ccfe3489fceebc8a36eca751481b59531.jpeg)

**Barry Grennan**

[Freelance HubSpot CMS Developer](https://www.seoanseo.ca?utm_source=HubSpotCommunity)

[Website](https://www.seoanseo.ca?utm_source=HubSpotCommunity) | [Contact](https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity)

---

<div class="post-metadata">

**Author:** ![tmcmillan99](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tmcmillan99/32/93181_2.png) [@tmcmillan99](https://community.hubspot.com/u/tmcmillan99)\
**Post date:** [August 25, 2022, 3:38pm UTC](https://community.hubspot.com/t/separate-blog-post-excerpt/63676/3 "2022-08-25T15:38:43Z")

</div>

@BarryGrennan

Great idea on the meta description! I was able to test both scenarios and will check with the team to see what they want to go with.

Just in case others are curious, here is the code I used for both options

**Meta Description:**

To access a post’s meta description - {{ content.meta\_description }}

**Custom Module:**

Created a custom module with one text field for the excerpt and added the module to the blog post template.

I had a little trouble finding the right module id so I used the following to get the correct one-

{{ content.widgets|pprint }}

To add the excerpt text to the blog listing template I used the following code-

{% set blog\_excerpt = content.widgets.module\_\<module\_id\> %}

{{ blog\_excerpt.body.excerpt }}

I believe the following would also work-

{{ content.widgets.module\_\<module\_id\>.body.excerpt }}
