converted static html index to django template