add version number and footer to base template