Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.1 KB

README.md

File metadata and controls

24 lines (14 loc) · 1.1 KB

HubSpot-Fixes

These are code snippets that I routinely use to fix SEO/audit errors for HuBSpot hosted websites.

This fixes the duplicate content and canonical errors for blog listing pages, by creating unique titles and descriptions. I add this to the "Additional Head Markup" on the blog template.

This hides the pagination when the blog listing page only has one page. This is to prevent duplicate content errors. I add this as a wrapper around the pagination code.

This shows the banner only on listing views.

This gets a list of all available blog tags so you can do something with them.

This calculates how many minutes it takes to read an article