Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm a bit unclear. Do you use a makefile instead of Jekyll/Octopress? Or somehow in combination with it?

Yes, I do remember that years ago I read about a static web management system that was makefile-centric, but think it lost popularity as more advanced CMS's came out.

Also I have trouble thinking about how a makefile can help you manage the 'Prev' and 'Next" attributes on a page. This is, not only make HTML from the page I just generated, but also go back to the previous writeup and update it to add a 'Next' link to it.



I just have a hacky Python script that reads each file, runs it through Jinja and spits it out. That is then managed with a makefile. I don't have any dependencies between pages (next, prev links) so there's no need to touch old pages on build. I've literally never used those features on any blog I've ever read, so I don't care about them. The makefile also generates an index file using the Python script.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: