-- Little hack to add links to the navigation bars main :: IO () main = interact addLinks addLinks :: String -> String addLinks [] = error "not found" addLinks ('<':'/':'u':'l':'>':'\n':'<':'/':'d':'i':'v':'>':xs) = "" ++ linkSection ++ "\n" ++ xs addLinks (x:xs) = x : addLinks xs linkSection :: String linkSection = "