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 |
|---|---|---|---|---|
| 5 | 148 | 15 hours ago | ||
| 1 | 193 | 1 week ago | ||
| 1 | 241 | 3 weeks ago | ||
| 4 | 376 | 1 month ago | ||
| 4 | 745 | 3 months ago |