I'm using the boilerplate, but when I create a new template, or better a new html page, it's seems Hubl is not going to work.
In this screen, I've just used an extends and a get_asset_url like in the other default pages. But as u can see, the terminal give me 2 errors, cos it can't find the path of the css file or html file.
It's seems Hublt doesn't work on custom file that I create.
Hi @AndreaSpuri, since you are working on Visual Studio Code, it might be just the program warning you that it "doesn't understand" what you wrote there, it doesn't mean it won't work once deployed to Hubspot 🙂 It makes sense that Visual Studio (or any other editor) doesn't recognize HubL as it's something unique for Hubspot CMS.
Did you try deploying/uploading your code to Hubspot?
You might also be interested in this Hubspot extension for Visual Studio Code.
Hi @AndreaSpuri, since you are working on Visual Studio Code, it might be just the program warning you that it "doesn't understand" what you wrote there, it doesn't mean it won't work once deployed to Hubspot 🙂 It makes sense that Visual Studio (or any other editor) doesn't recognize HubL as it's something unique for Hubspot CMS.
Did you try deploying/uploading your code to Hubspot?
You might also be interested in this Hubspot extension for Visual Studio Code.