Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

How to add css to Twig templates

Solved by Dimitri Longo View solution

Started by Usk70 9 years ago · 1 replies · 5622 views
9 years ago

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] - - >

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 193 2 months ago
Themes & Styling · by Ian, 2 months ago
3 90 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 449 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 44 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 123 3 months ago