I’m trying to render a page on my website. I am using Slim Framework with Twig. When I put the HTML file in a different directory (other than Slim), it works perfectly.
But when I try to render it using Slim and Twig, I get this:
Seems like the CSS and the JS is not working. Also, if it works elsewhere, there must be something wrong with Twig and Slim. Here’s the source code of the HTML:
HTML Source Code