still struggling with the templating but have header and footer working in meantime