⚡️ | Amelioration perf miniature par défaut
This commit is contained in:
parent
5234ef75d1
commit
f44df1040b
5 changed files with 4 additions and 4 deletions
BIN
img/default-preview-small.png
Normal file
BIN
img/default-preview-small.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 8.9 KiB |
|
@ -11,7 +11,7 @@
|
|||
<?php if ($page->type() == "sticky") : ?>
|
||||
<article class="preview-featured h-entry">
|
||||
<a href="<?php echo $page->permalink(); ?>" class="preview-link u-url">
|
||||
<img src='<?php echo ($page->thumbCoverImage() ? $page->thumbCoverImage() : HTML_PATH_THEME_IMG . "/default-preview.png") ?>' class="d-none u-photo">
|
||||
<img src='<?php echo ($page->thumbCoverImage() ? $page->thumbCoverImage() : HTML_PATH_THEME_IMG . "/default-preview-small.png") ?>' class="d-none u-photo">
|
||||
<div class="preview-item" style="background-image:url('<?php echo ($page->thumbCoverImage() ? $page->thumbCoverImage() : HTML_PATH_THEME_IMG . "/default-preview.png") ?>');">
|
||||
<div class="preview-overlay">
|
||||
<div class="preview-categories">
|
||||
|
@ -39,7 +39,7 @@
|
|||
<?php if ($page->thumbCoverImage()) : ?>
|
||||
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" />
|
||||
<?php else : ?>
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" class="u-photo" />
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview-small.png" class="u-photo" />
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="preview-text">
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<?php if ($page->thumbCoverImage()) : ?>
|
||||
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" />
|
||||
<?php else : ?>
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" class="u-photo" />
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview-small.png" class="u-photo" />
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="preview-text">
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<?php if ($page->thumbCoverImage()) : ?>
|
||||
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>" class="u-photo" />
|
||||
<?php else : ?>
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" class="u-photo" />
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview-small.png" class="u-photo" />
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="preview-text">
|
||||
|
|
Loading…
Reference in a new issue