Differentiate between main and partial templates