add genlinks.hs, a custom script for Jekyll