Website Summary Files Commits Branches @commit @diff @stats
path: root / views / archive / index.php
diff options
context:
space:
mode:
Commitae8b6f88a0c31703d5e846fd1717a26b74d5da3b (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-02-09 20:52:35 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-02-09 20:52:35 +0200
Filesf4bbffc0670e46450acba673c819672b28d89f26 /views/archive/index.php
nowayforward_human-ae8b6f88a0c31703d5e846fd1717a26b74d5da3b.tar
nowayforward_human-ae8b6f88a0c31703d5e846fd1717a26b74d5da3b.tar.gz
nowayforward_human-ae8b6f88a0c31703d5e846fd1717a26b74d5da3b.zip
Parentaac3a0fa5072525edb4e271a61047624781567e4 (diff)
feat: Better home cards, show total view count of pages
1 files changed, 3 insertions, 2 deletions
-rw-r--r--views/archive/index.php5
diff --git a/views/archive/index.php b/views/archive/index.php
index 11b4189..b39d641 100644
--- a/views/archive/index.php
+++ b/views/archive/index.php
@@ -20,8 +20,9 @@
<h1 id="page-header"><?= $page->URL ?></h1>
<p id="page-info">
- Archived <b><?= count($archives) ?></b> times,
- between
+ Viewed <b><?= $page->totalViewCount() ?></b> times,
+ accross <b><?= count($archives) ?></b> archives,
+ created between
<b><?php echo end($archives)->Date; reset($archives); ?></b>
and
<b><?= current($archives)->Date ?></b>