Hi, I have created subpages which are using the default template. All libraries I have linked in my header and footer are not loading on the sub pages and are presenting me with a 404 error. I guess this is because I have added a folder called libs or just placed in my root folder where they are being referenced like (shown bellow). Where is the correct place to store all libraries and how do I reference them?
Okay, well in this case why are they not loading on my subpage… The template has loaded correctly its just the link and script tags which are not working as the file cannot be found. The parent folder works fine. My file structure for the content is like this. As a secondary question is there a way to add another template instead of the default to these pages?
I have just realised that it is trying to find the files in the parent folder rather then the root: GET http://localhost:8080/kirby-blank/projects/libs/bootstrap.min.js net::ERR_ABORTED 404 (Not Found)
Exactly, if your file is located in the project’s root folder, that is (I would put it into an assets folder or whatever, because I don’t like things lying around in the project root.