But you do have to keep on top of whatever security holes there may be in your own code, and fix whatever bugs pop up. Hopefully before a XSS vulnerability is exploited.
text files -> bash script calls markdown and adds header/footer -> another bash script generates indexes -> lftp syncs