Creating a custom base template