Updating Blog Code to include Custom Rich Text

Disclaimer - I do not speak or understand dev but have an issue that I thought was a quick fix, but apparently needs some code work.
Scenario - I want to have a short disclaimer added to ALL blog posts automatically that shares that a blog may include affiliate links
I do not want this text to show in google searches or as the teaser text on other pages
Current solution -
I am able to add a custom rich text block to the start of a single blog post that can include the disclaimer language
Per a chat with a hubspot rep yesterday, they said for it to show up on ALL posts, I would need to add code to the blog template settings, which I’m unsure how to do
Feedback?

Hi @BSouza12,

This may be tricky to implement without a developer but you could try this:

In order to add a block of text to all of your posts, you would need to open up the Blog Post template in Design Manager. Easiest way would be to go to one of your blog posts, click the HubSpot icon in the top right and then click “Edit Post Template”.

Once in Design Manager, add the following piece of code to where you would like the text to show up.

<div class="disclaimer-lang">
 <p>This is the disclaimer text. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</div>

Obvisouly you would replace the text in between the <p> tags to what your disclaimer language is.

Depending on template setup, this may not end up looking great and may require adding some CSS code to look better. Hard to tell without seeing the setup.

Lastly, there is no easy way to exclude a piece of content on the page from google search results. This would require loading content through an iframe or using some javascript, which would require a developer. However, this would not show up as teaser text on other pages since it would not be part of the actual blog post content.