Migrate layout directory to Haskell code using Hamlet and Cassius