CMS Development

AndreaSpuri
Miembro | Partner nivel Diamond
Miembro | Partner nivel Diamond

Hubl not work?

resolver

Hello everyone!

I have a big problem, I'm a newbie in Hubspot.

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.

 

Immagine 2022-06-16 125934.png

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.

 

Some suggest?

Thank u! 😀

0 Me gusta
1 Soluciones aceptada
albertsg
Solución
Asesor destacado

Hubl not work?

resolver

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.

Ver la solución en mensaje original publicado

1 Respuesta 1
albertsg
Solución
Asesor destacado

Hubl not work?

resolver

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.