fredboniface.co.uk/page-blocks/head-img.php

12 lines
499 B
PHP
Raw Normal View History

2022-10-29 21:09:16 +01:00
<div class="header_image" id="<?php echo $page_title; ?>">
2022-10-29 20:44:47 +01:00
<div id="page_title" class="hide_micro">
2022-10-29 20:59:56 +01:00
<?php
if (strcmp($page_title, 'home') == 0){
2022-10-29 21:22:07 +01:00
echo '<picture id="header_face">';
echo '<source srcset="/images/headers/index/face-150.webp" type="image/webp">';
echo '<img src="/images/headers/index/face-100.webp" alt="Face image">';
echo '</picture>';
} ?> <!-- Moved from separate include to inline -->
2022-10-29 21:09:16 +01:00
<h1><?php echo ucwords($page_title); ?></h1>
2022-10-29 20:44:47 +01:00
</div>
</div>