Empty content in module

Hello,

We have a blog page that displays a list of related posts. Recently this list is not shown properly (like this) :

By checking the code I found that the content loaded in Post Pattern module is empty, this is why default values are displayed. I’m new to Hubspot, so I want to know please, Content isn’t a global variable? Does anyone have an idea why Content can be empty in the called module?

Thanks for any help!

@jonchim , any chance you can lend a hand here :grinning_face:

got you @dennisedson !
@ABenSalem,
To confirm, is this blog related posts on the listing template or the post template? I believe the related posts would only work on the post template.
When you go into the Post Pattern module, towards the top left can you click on Actions > Show Revision History

Just curious to see if any revisions have been made, if there are revisions clicking on them may show what’s changed within the module code. Could be a case of someone accidentaly deleted the code in the module.

Hello @dennisedson

No, no changes was made on code before detetcting the problem.

But checking now related posts works fine. I don’t know what happened, no one changed the code, but it’s working now.

Thank you for your assistance.

Hi @ABenSalem ,

To display the list of related posts you can use the Default RSS module which is present in your theme. Just simply clone that module and use it on the blog page.

Here is the screenshot of RSS:

The reason for empty content -- > Might be you have not assigned the particular blog name and that’s why it is showing the default content.

You can use the RSS listing module and Also add some blog posts and choose the blog

and your issue will get resolve.

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards.