make header and footer partials
clean up templates
add search from post page