Rename footer.php to lib/templates/footer.php