bastianallgeier/kirbycms — pull request #23 by vis7mac (2012-06-20 12:43:21+00:00)
Title: Changes to Template API

I added one new function ($page->hasTemplate) to check if a given template is loaded and made a change to template() to return the "virtual" name (the name of the template that would get loaded if it existed, for example home or about-us).

BTW: Sorry that I now "want" to pull 3 commits into your repo, of course I just want to pull the last one. That's GitHub's fault...