|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of linking to a static path for the CSS and JavaScript files in
the head of each generated HTML document, dynamically generate a
relative path that backtracks to the site root before descending into
the chosen directory. This ensures that all pages will link to the same
set of CSS/JS files, no matter how deeply nested.
This could have been accomplished through the use of absolute paths,
but I want the websites generated by this program to be able to be
freely mixed and matched with existing websites, which requires the use
of relative paths only.
|