in result.html i am trying to add the layout.html like this:
which works fine
in index.html i am trying to add the layout.html like this:
which then gives me an error because in layout.html i refer to the header and footer like this:
it seems like the path always goes from the current path of the file instead of the one from where i am at. does that make sense?
in result.html it works fine because ../fragments/header.html is a valid path.
in index.html it does not work fine because ../fragments/header.html does not exist (its going above the views folder)
do you guys have an idea how to fix that without creating multiple layout files?
Hi
i have the following folder structure:
in result.html i am trying to add the layout.html like this: