Added bootstrap and created a function to decide the content type of the static content