aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2025-01-19 20:22:21 +0200
committerSyndamia <kamen@syndamia.com>2025-01-19 20:22:21 +0200
commit7fd2314b7f077e09968addd6bfac4deeb7fd0aea (patch)
tree3b08b3bf409cd5aeb41f2643f0556df562803176 /views
parent7ac34b7dd0ec513f374786b9b5059c259bd43e92 (diff)
downloadnowayforward_human-7fd2314b7f077e09968addd6bfac4deeb7fd0aea.tar
nowayforward_human-7fd2314b7f077e09968addd6bfac4deeb7fd0aea.tar.gz
nowayforward_human-7fd2314b7f077e09968addd6bfac4deeb7fd0aea.zip
feat(views/archive): Show webpage preview
Diffstat (limited to 'views')
-rw-r--r--views/archive/index.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/views/archive/index.php b/views/archive/index.php
index e5146a3..f96c34f 100644
--- a/views/archive/index.php
+++ b/views/archive/index.php
@@ -5,9 +5,7 @@
?>
<?php if ($page !== null): ?>
- <iframe>
- <!-- /archives/$page->WID -->
- </iframe>
+ <iframe src="<?php echo "/archives/{$page->WID}" ?>"></iframe>
<?php foreach (Database\Webpage::allArchives($page->URL) as $page): ?>
<section>
<?php echo $page->Date ?>