Hey there! I've recently started receiving this error message in the Optimize section of all of my HubSpot CMS blog, website, & landing pages. After some digging, it looks like my pages have a duplicate of the HTML header tag. Any idea how to fix this?
Okay - I fixed this one! So, the macros.html file wasn't in the correct path for the theme, so it was pulling in another theme that duplicated the <head> tag. Luckily HubSpot CMS flags errors for you if you take the team to read them. 😉 Getting more coffee now!
Okay - I fixed this one! So, the macros.html file wasn't in the correct path for the theme, so it was pulling in another theme that duplicated the <head> tag. Luckily HubSpot CMS flags errors for you if you take the team to read them. 😉 Getting more coffee now!
Dec 13, 202310:07 AM - edited Dec 13, 202311:25 AM
Participant
Two Viewport Tags on HubSpot CMS pages
SOLVE
Hi Lauren,
Thanks for opening this thread. I'm in the same situation, with duplicate viewport meta tags.
Can you please provide more details about the fix? Feel free to provide all the details that come to your mind. I'm interested in what path the macros.html should be placed in.