mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 20:16:22 +05:30
Update theme
This commit is contained in:
parent
1decf30830
commit
ad5634d9c1
2 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@
|
|||
|
||||
<?php if (!empty($post->image)) {?>
|
||||
<a href="<?php echo $post->url;?>"><img alt="<?php echo $post->title;?>" src="<?php echo $post->image;?>" width="100%"></a>
|
||||
<?php } elseif (!empty($img) && config('teaser.type') === 'trimmed') {?>
|
||||
<?php } elseif (!empty($img) && config('teaser.type') === 'trimmed' && empty($post->quote) && empty($post->video) && empty($post->audio)) {?>
|
||||
<a href="<?php echo $post->url;?>"><img alt="<?php echo $post->title;?>" src="<?php echo $img;?>" width="100%"></a>
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
<?php if (!empty($post->image)) {?>
|
||||
<a href="<?php echo $post->url;?>"><img alt="<?php echo $post->title;?>" src="<?php echo $post->image;?>" width="100%"></a>
|
||||
<?php } elseif (!empty($img) && $teaserType === 'trimmed') {?>
|
||||
<?php } elseif (!empty($img) && $teaserType === 'trimmed' && empty($post->quote) && empty($post->video) && empty($post->audio)) {?>
|
||||
<a href="<?php echo $post->url;?>"><img alt="<?php echo $post->title;?>" src="<?php echo $img;?>" width="100%"></a>
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue