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 | 125 | 3 days ago | ||
| 0 | 67 | 6 days ago | ||
| 1 | 159 | 2 weeks ago | ||
| 1 | 274 | 2 weeks ago | ||
| 6 | 1463 | 2 weeks ago |