diff options
author | Aleteoryx <alyx@aleteoryx.me> | 2024-11-15 02:05:59 -0500 |
---|---|---|
committer | Aleteoryx <alyx@aleteoryx.me> | 2024-11-15 02:05:59 -0500 |
commit | c8fe180e0f0cee016072ed4076aa1c286264319a (patch) | |
tree | 6b9e4721597bf1373d216533eceea4e64f7381b2 /rss.php | |
parent | 51a150542482a1babb1dab633e0224f99c929f10 (diff) | |
download | rss_dot_php-c8fe180e0f0cee016072ed4076aa1c286264319a.tar.gz rss_dot_php-c8fe180e0f0cee016072ed4076aa1c286264319a.tar.bz2 rss_dot_php-c8fe180e0f0cee016072ed4076aa1c286264319a.zip |
Diffstat (limited to 'rss.php')
-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; ?> • |