{~ $templatePath = 'templates/' . (isset($INTERNAL_PAGE) && $INTERNAL_PAGE ? 'internalTemplate.html' : 'externalTemplate.html'); $destHtml = (isset($USE_TEMPLATING_SUBDIR) && $USE_TEMPLATING_SUBDIR ? 'templates/pages/' : '') . $HTML_FILE; tirreno('log')->debug('templating file %s with %s.', $destHtml, $templatePath); ~}