fix: corrige les images miniatures
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
5487c753ab
commit
d09cde08b0
2 changed files with 3 additions and 3 deletions
|
@ -34,8 +34,8 @@
|
|||
<?php if ($page->type() != "sticky") : ?>
|
||||
<a href="<?php echo $page->permalink(); ?>" class="preview">
|
||||
<div class="preview-thumbnail">
|
||||
<?php if ($page->coverImage()) : ?>
|
||||
<img alt="" src="<?php echo $page->coverImage(); ?>" />
|
||||
<?php if ($page->thumbCoverImage()) : ?>
|
||||
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>" />
|
||||
<?php else : ?>
|
||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" />
|
||||
<?php endif ?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<h1 class="page-title"><?php echo $page->title(); ?></h1>
|
||||
<?php if ($page->coverImage()): ?>
|
||||
<div class="thumbnail mb-half" aria-hidden="true">
|
||||
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>"/>
|
||||
<img alt="" src="<?php echo $page->coverImage(); ?>"/>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<?php if (!$page->isStatic() && !$url->notFound()): ?>
|
||||
|
|
Loading…
Reference in a new issue