Best Practice Nested Folders & Templates (Theme) - Relative Paths or Symbolic Links?
I am trying to discern what is the most common practice for templating the layout of a site. I have a folder within my root which contains a number of includes which makeup the theme for a page. I want to use this theme on every page on my site including all nested folders no matter how deep the depth of the folders (2 levels deep, 3, 4 , 5, 6, etc).
Is the best practice to?
1) Generate separate pages for each nested folder such that each page includes the file using relative paths (../ or ../../ or ../../../)?
2) Use symbolic links pointing to the includes folder at the root within each nested directory?
I'm curious also how #2 may impact git by performing a commit on files that are symbolic links?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)