From d76ea6375334b758fcdbe84252515b3059ff8e53 Mon Sep 17 00:00:00 2001 From: Aleteoryx <alyx@aleteoryx.me> Date: Thu, 14 Nov 2024 17:23:21 -0500 Subject: minor heirarchy change --- rss.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/rss.php b/rss.php index 4468a7d..022b6e6 100644 --- a/rss.php +++ b/rss.php @@ -279,14 +279,16 @@ $base = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH); <p>Try unfiltering some feeds!</p> <?php endif; foreach ($combined as $entry): ?> - <article> - <?php if(isset($entry['title'])): ?> - <h1><a target="<?= $config['link_target'] ?>" href="<?= $entry['link'] ?>"><?= $entry['title'] ?></a></h1> - <?php endif; ?> - <?php if(isset($entry['content'])): ?> - <div class="content"><?= $entry['content'] ?></div> - <?php endif; ?> - <span class="source" data-source="<?= $entry['source'] ?>"> + <article data-source="<?= $entry['source'] ?>"> + <div class="content"> + <?php if(isset($entry['title'])): ?> + <h1 class="title"><a target="<?= $config['link_target'] ?>" href="<?= $entry['link'] ?>"><?= $entry['title'] ?></a></h1> + <?php endif; ?> + <?php if(isset($entry['content'])): ?> + <div><?= $entry['content'] ?></div> + <?php endif; ?> + </div> + <span class="source"> <?php if ($entry['home']): ?> <a target="<?= $config['link_target'] ?>" href="<?= $entry['home'] ?>"><?= $entry['source'] ?></a> <?php else: ?> -- cgit v1.2.3-70-g09d2