diff options
| author | Syndamia <kamen@syndamia.com> | 2025-02-09 20:52:35 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2025-02-09 20:52:35 +0200 |
| commit | ae8b6f88a0c31703d5e846fd1717a26b74d5da3b (patch) | |
| tree | f4bbffc0670e46450acba673c819672b28d89f26 /views/home | |
| parent | aac3a0fa5072525edb4e271a61047624781567e4 (diff) | |
| download | nowayforward_human-ae8b6f88a0c31703d5e846fd1717a26b74d5da3b.tar nowayforward_human-ae8b6f88a0c31703d5e846fd1717a26b74d5da3b.tar.gz nowayforward_human-ae8b6f88a0c31703d5e846fd1717a26b74d5da3b.zip | |
feat: Better home cards, show total view count of pages
Diffstat (limited to 'views/home')
| -rw-r--r-- | views/home/card.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/home/card.php b/views/home/card.php index de7d6a6..2711b4a 100644 --- a/views/home/card.php +++ b/views/home/card.php @@ -8,8 +8,8 @@ <span><?= $page->Title ?></span> </section> <section> - <strong>Visits: <?= $page->Visits ?></strong> - <strong><!-- Archives count --></strong> + <strong>Visits: <?= $page->totalViewCount() ?></strong> + <strong>Archives: <?= count($page->allArchives()) ?></strong> </section> </section> |
