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") : ?>
|
<?php if ($page->type() != "sticky") : ?>
|
||||||
<a href="<?php echo $page->permalink(); ?>" class="preview">
|
<a href="<?php echo $page->permalink(); ?>" class="preview">
|
||||||
<div class="preview-thumbnail">
|
<div class="preview-thumbnail">
|
||||||
<?php if ($page->coverImage()) : ?>
|
<?php if ($page->thumbCoverImage()) : ?>
|
||||||
<img alt="" src="<?php echo $page->coverImage(); ?>" />
|
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>" />
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" />
|
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/default-preview.png" />
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<h1 class="page-title"><?php echo $page->title(); ?></h1>
|
<h1 class="page-title"><?php echo $page->title(); ?></h1>
|
||||||
<?php if ($page->coverImage()): ?>
|
<?php if ($page->coverImage()): ?>
|
||||||
<div class="thumbnail mb-half" aria-hidden="true">
|
<div class="thumbnail mb-half" aria-hidden="true">
|
||||||
<img alt="" src="<?php echo $page->thumbCoverImage(); ?>"/>
|
<img alt="" src="<?php echo $page->coverImage(); ?>"/>
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?php if (!$page->isStatic() && !$url->notFound()): ?>
|
<?php if (!$page->isStatic() && !$url->notFound()): ?>
|
||||||
|
|
Loading…
Reference in a new issue