Try another fix!
This commit is contained in:
parent
d4992014f8
commit
109ec874ef
@ -1,3 +1,5 @@
|
||||
THIS FILE IS NOT CURRENTLY USED AND SHOULD BE DELETED AFTER TESTING
|
||||
|
||||
<picture id="header_face">
|
||||
<source srcset="/images/headers/index/face-150.webp" type="image/webp">
|
||||
<img src="/images/headers/index/face-100.webp" alt="Face image">
|
||||
|
@ -2,8 +2,11 @@
|
||||
<div id="page_title" class="hide_micro">
|
||||
<?php
|
||||
if (strcmp($page_title, 'home') == 0){
|
||||
include "./page-blocks/head-img-face.php";
|
||||
} ?> <!-- THIS IS NOT WORKING. img-face IS NOT BEING INCLUDED!!! -->
|
||||
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 -->
|
||||
<h1><?php echo ucwords($page_title); ?></h1>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user