static hosting and templates working