Add bootstrap code for layout and base template.