Update classes/pdf/HTMLTemplate.php

Fix override pdf template in theme dir