rewrote header and footer in HAML