I have 2 different documents that are using the static files, index.ejs and showdetails.ejs. Both these files are in the same folders and I am using partials to include head, CDNs, and Style.css. My style.css file works fine in index.ejs using <%- include('partials/head.ejs') %> but does not work in showdetails.ejs. All other elements from head.ejs like navbar, title, etc are coming up in showdetails.ejs but it is just the static files such as image and stylesheet are missing.
Thank you in advance. :)