brendanmetzger / diatom

A template framework
1 stars 0 forks source link

Figure out nested scopes in Template::getStubs #4

Closed brendanmetzger closed 4 years ago

brendanmetzger commented 4 years ago

If a layout contains the same yield slug as anothe route template, things get confusing. It's probably bad practice to let that occur, but thought should be put into lienincy vs. error throwing

brendanmetzger commented 4 years ago

Interestingly, this has been cleared up through all the other template/route parsing revisions noted in previous issues. It even feels right, as the code has been articulated to be quite direct.