aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleteoryx <alyx@aleteoryx.me>2024-11-15 02:05:59 -0500
committerAleteoryx <alyx@aleteoryx.me>2024-11-15 02:05:59 -0500
commitc8fe180e0f0cee016072ed4076aa1c286264319a (patch)
tree6b9e4721597bf1373d216533eceea4e64f7381b2
parent51a150542482a1babb1dab633e0224f99c929f10 (diff)
downloadrss_dot_php-master.tar.gz
rss_dot_php-master.tar.bz2
rss_dot_php-master.zip
minor template fixesHEADmaster
-rw-r--r--rss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/rss.php b/rss.php
index dee7576..4bdf20d 100644
--- a/rss.php
+++ b/rss.php
@@ -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'])): ?>
&bullet;
- <a href="<?= $entry['link'] ?>">Source</a>
+ <a target="<?= $config['link_target'] ?>" href="<?= $entry['link'] ?>">Source</a>
<?php endif; ?>
&bullet;