How do I remove the footer from a custom template?

Please use the original thread and don’t open duplicate topics :slightly_smiling_face: