setr / redsystem

Static blog generator with cyclical digraph structure
https://setr.github.io/redsystem/index.html
0 stars 1 forks source link

Non-JS cycle support #5

Closed setr closed 5 years ago

setr commented 5 years ago

Instead of having the JS code detect the cycle and retreat back up the path, why not have a new symlink, that points to the retreated symlink?

www/
  p1.html -> src/p1.html
  p1/
     p2.html -> src/p2.html
     p2/
         p3.html -> src/p3.html
         p3/
              p1/html -> www/p1.html               <--- instead of pointing to src/, we point to the symlink

Will this update the http path correctly with a static webserver?