diff options
-rw-r--r-- | rss.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -349,7 +349,7 @@ $base = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH); <?php if(count($entry['images']??[])): ?> <div class="rss-images"> <?php foreach($entry['images'] as $media): ?> - <img loading="lazy" src="<?= $media ?>"></object> + <a target="<?= $config['link_target'] ?>" href="<?= $media ?>"><img loading="lazy" src="<?= $media ?>" /></a> <?php endforeach; ?> </div> <?php endif; ?> @@ -373,7 +373,7 @@ $base = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH); <?php if(!isset($entry['title'])): ?> • - <a href="<?= $entry['link'] ?>">Source</a> + <a target="<?= $config['link_target'] ?>" href="<?= $entry['link'] ?>">Source</a> <?php endif; ?> • |