timber/starter-theme

Simplify header/footer usage

Closed this issue · 0 comments

          > Gotcha, in my case, I never uses the footer.php solution in my 100+ timber projects :D So I think running those two hooks mimics that. I self-assigned this to add this to the docs.

👍

Btw, in starter we also have the header.php besides the footer.php. I never used that as well. Shall I create a PR implementing my suggested code and get rid of those two files?

Yes, I’d be all for that. From comments I have seen in various places, it’s not clear to everyone what these files do. So if we can have a simpler solution, let’s do that.

Originally posted by @gchtr in timber/timber#2420 (comment)