added code to base .html