more abstraction for home.html template