Re:Static Site Generators
by icebraining on Thursday May 15, 2014 @05:54AM
(#7748595)
It's not static, because I don't want to have to rebuild everything just 'cause I added a new photo, or fix a type.
Some generators (e.g. gostatic) can track changes and dependencies, rebuilding just what changed.
Yeah I was gonna do that, but wanted to check if anyone else had done it before I reinvent the wheel. :)
Re:Static Site Generators
by raving-richard on Thursday May 15, 2014 @10:31AM
(#7749609)
Where's the fun in that? Re-inventing the wheel to scratch your own itch is part of the process of improving yourself as a developer.
:p
But it's pretty simple. You just have to recursively go over the folder, and get each photo. Make sure there is a thumbnail, and build your HTML.