Skip to content

Commit df11a14

Browse files
committed
[article]: target and image size
1 parent 34eb916 commit df11a14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/templates/home.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<div class="d-block d-md-flex">
5353
<?php if (!empty($item['image_url'])) : ?>
5454
<div class="pe-md-3 pb-2 pb-md-0">
55-
<img class="rounded-2" src="<?= $this->e($thumbnailService->getThumbnail($item['image_url'], 180, 90)) ?>" width="180" height="90" loading="lazy" decoding="async" alt="<?= $this->e($item['title']) ?>">
55+
<img class="rounded-2" src="<?= $this->e($thumbnailService->getThumbnail($item['image_url'], 180, 100)) ?>" width="180" height="100" loading="lazy" decoding="async" alt="<?= $this->e($item['title']) ?>">
5656
</div>
5757
<?php endif; ?>
5858
<div class="flex-fill">
@@ -64,7 +64,7 @@
6464
</h4>
6565
<div class="d-block">
6666
<span>em</span>
67-
<a href="<?= $this->e($item['site_url']) ?>" class="text-truncate">
67+
<a href="<?= $this->e($item['site_url']) ?>" target="_blank" class="text-truncate">
6868
<?= $this->e($item['feed_title']) ?>
6969
</a>
7070
</div>

0 commit comments

Comments
 (0)