Sfoglia il codice sorgente

Use the right picture for doodle

Andrea Franceschini 2 anni fa
parent
commit
4fb9c61373
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      pages/development.php

+ 1 - 1
pages/development.php

@@ -175,7 +175,7 @@ $twitter_image = 'images/phd-app-2x.jpg';
 				<figure>
 					<a href="#" data-featherlight="<?=$baseurl?>images/doodle-2x.png">
 						<picture>
-							<source srcset="<?=$baseurl?>images/doodle-2x.png" type="image/webp" />
+							<source srcset="<?=$baseurl?>images/doodle-2x.webp" type="image/webp" />
 							<source srcset="<?=$baseurl?>images/doodle.png 1x, <?=$baseurl?>images/doodle-2x.png 2x" type="image/png" />
 							<img class="rounded" srcset="<?=$baseurl?>images/doodle.png" alt="Doodle" />
 						</picture>