Excerpt macro in blog post doesn't work properly
Asked by Habib:

Hi,

We're publishing blog posts on our space, and we want to include excerpts of them on our main page.

For each blog post we used the "**Excerpt** " macro, and then we configured the "**Blog Posts** " macro on "*excerpts*", however, we did not have the intended result

![post.png](/t5/image/serverpage/image-id/29237i0134A71C064DED58/image-dimensions/494x388?v=v2 "post.png")![page.png](/t5/image/serverpage/image-id/29238i28564BEED9CD75F7/image-dimensions/479x190?v=v2 "page.png")

Is this a bug? Maybe related to CONFSERVER-54223

Thanks!


Answers:
author: Ashley Renlund
body: I'm having the same problem as Habib, also in a cloud environment.

I have used the Excerpt macro in several blog posts. But this seems to be ignored by the Blog Posts macro elsewhere in the space. It includes much more text than is in my Excerpt.

If I use the Include Excerpt macro, the excerpt appears as I would expect. But I don't want to have to manually update the page each time a blog post is published.

comments: author: Ossi Heimo
body: Same here. I did a bug report from this.


author: David Florey
body: I am also having the same problem.


author: Martin Sutherland
body: I'm having the same problem here. The "content type: excerpts" option for the blog posts macro ignores the excerpt provided, and also all formatting.


author: Scott Beeson
body: Same. 2 years later and still an issue. Neat.


author: Ian Turner
body: [@Scott Beeson](/t5/user/viewprofilepage/user-id/2036480) nothing unusual in that kind of lead time... you'd think they'd purchase some kind of bug/issue tracking system to help them manage their backlog


author: Ashley Renlund
body: Another bug report here: <https://jira.atlassian.com/browse/CONFCLOUD-70566>


author: Ian Turner
body: Did this ever get logged as a ticket as i get the same problem - in 2020 using the cloud based confluence.

comments: author: Ashley Renlund
body: I found this bug report: <https://jira.atlassian.com/browse/CONFCLOUD-58886>


author: Grigory Salnikov
body: Hi and welcome to the community!

What is your intended result by the way?

comments: author: Habib
body: Hi Greg, thank you for your reply.

My intended result would to display what inside the Excerpt macro *"This is the test excerpt"*in the main page. Currently, the Excerpt macro is ignored, and the "Blog post" macro displays the first few lines of text


author: Grigory Salnikov
body: Oh, I see.

Have you added the "Excerpt Include" macro to the main page?

![excerpt.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/29240iD4C2D2ECD6260AF4/image-size/large?v=v2&px=999 "excerpt.jpg")


author: Habib
body: No, I used the "Blog post" macro with the excerpt option (as documented in <https://confluence.atlassian.com/doc/blog-posts-macro-139470.html>)

![blog post macro.png](https://community.atlassian.com/t5/image/serverpage/image-id/29242i6A1E1069B9510DA0/image-dimensions/541x274?v=v2 "blog post macro.png")

I tested the "Excerpt include" macro in the main page, it worked as expected, but we'd rather prefer the display of the "Blog Post" macro (which is supposed to display excerpts).

![main page.png](https://community.atlassian.com/t5/image/serverpage/image-id/29243i657DCA435698B7D5/image-dimensions/546x315?v=v2 "main page.png")

Thank you


author: Grigory Salnikov
body: Oh, I see now.

Let me reproduce it in my environment and I'll get back to you with the results.


author: Habib
body: Thank you!!


author: Grigory Salnikov
body: I've managed to reproduce the issue and it seems ok in my environment:

![blogpost.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/29244i342FB16D9E8A2623/image-size/large?v=v2&px=999 "blogpost.jpg")![1st blog.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/29245i91CF0D081BD35C12/image-size/large?v=v2&px=999 "1st blog.jpg")


author: Habib
body: Hmmm, I tried on another page and I still have the same problem. We're using confluence cloud so we should have the last version. What can we do to further analyze the problem?


author: Grigory Salnikov
body: You said "on another page" but in my example there're 2 different pages (the main one and the blog post itself). I do it the following way:

1. Create a new page and put a blog post macro on it:

![1bp.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/29247i797AE9EEE1EBAF36/image-size/large?v=v2&px=999 "1bp.jpg")

2. Make sure I choose "excerpts" as Content Type to Display:

![2bp.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/29248iD6B6AEF643D4626A/image-size/large?v=v2&px=999 "2bp.jpg")

3. Use the "Create blog post" button to create my first blog post:

![3bp.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/29249iC2FAD35F7464FF3A/image-size/large?v=v2&px=999 "3bp.jpg")

4. Make a blog post entry with the excerpt in it:

![4bp.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/29250iDAA04D1DF0C82617/image-size/large?v=v2&px=999 "4bp.jpg")

And here we go:

![resultbp.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/29246i9817D008534302F1/image-size/large?v=v2&px=999 "resultbp.jpg")

Is the process the same with you?


author: Habib
body: Yes, I even redid the exact same steps on my personal space, and I have the same problem.

Is this a bug, or a configuration issue?


author: Grigory Salnikov
body: Actually, it's hard to tell. We have different environments (I have a server and you - cloud) so there may be something different.

Let's see if anyone else here has any suggestions or reports the same behavior.


author: Scott Beeson
body: I'm having this problem and it's 2 years later...


Tags: blog

cloud

confluence-cloud

excerpt