Fixed ternary operator

Page title now dynamically generated in the header.php file