I would like to understand how should I include the following HTML syntax in a Twig template (custom theme):
< ! - - [if lt IE 9]> < script type="text/javascript" src="js/customFoo.js" > < / script > < ! [endif] - - >
Solved by Dimitri Longo View solution
I would like to understand how should I include the following HTML syntax in a Twig template (custom theme):
< ! - - [if lt IE 9]> < script type="text/javascript" src="js/customFoo.js" > < / script > < ! [endif] - - >
many ways to add assets
https://learn.getgrav.org/themes/asset-manager#example
in base.html.twig for example
or with assets plugin
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 3 | 251 | 2 weeks ago | ||
| 5 | 317 | 2 weeks ago | ||
| 1 | 310 | 4 weeks ago | ||
| 1 | 348 | 1 month ago | ||
| 4 | 474 | 2 months ago |