CMS Development

IngridCloud
Member

Standard blog_content module specification?

Hello,

I have been looking around for an answer to this, but with no success. I am working on the styling and structure of a blog. In my newly created template file, this part shown in the image is included.

Skärmavbild 2020-08-27 kl. 15.18.20.png

 

For some reason there is no specification for the standard module blog_content, but there exists such specification for blog_comments and many other standard modules. I searched at this url: https://developers.hubspot.com/docs/cms/building-blocks/modules/default-modules

 

Where can I learn more about blog_content? 

 

Maybe this is a beginner's question, but I am also confused about how I am supposed to modify and style the blog content when it is abstracted away into a standard module. Am I supposed to clone the standard blog_content module and make my own?

 

Thank you!

0 Upvotes
1 Reply 1
Katelyn_Eklund
HubSpot Employee
HubSpot Employee

Standard blog_content module specification?

Hi Ingrid!

 

You can learn more about customizing your blog content layout and style using this reference doc: https://developers.hubspot.com/docs/cms/building-blocks/templates/blog-template-markup

 

Essentially you can replace the following default module:

{% module "blog_template_main_content" path="@hubspot/blog_content" label="Blog Content" %}

With whatever HTML markup you like and use the HubL variables within your markup for things like blog publish date, author, tags, etc. You can see what the default blog listing markup looks like here.

 

I hope this helps 🙂 

0 Upvotes