Commit Diff
Commit:
4d7b2baaeb5d8ca44873fffc775b8a195a35d03f
From:
Omar Polo <op@omarpolo.com>
Date:
Fri Aug 26 19:49:25 2022 UTC
Message:
move the page number as subtitle
commit - 408edb254d966dd631f536ca324526fa16c6c30a
commit + 4d7b2baaeb5d8ca44873fffc775b8a195a35d03f
blob - 6337cd14f34c26b8ce12b1be41077835f9d122c3
blob + 97c0fa7bfe425ac4ac395e488855f7b2652ddb16
--- mkindex
+++ mkindex
@@ -42,6 +42,8 @@ sub nextfile {
$title .= " | page $page" if $page != 0;
initpage($pfh, $title);
+ my $subtitle = $page != 0 ? "<p>Page $page</p>" : "";
+
my $hdr = <<EOF;
<header class='index-header'>
<a href="https://gameoftrees.org" target="_blank">
@@ -49,7 +51,8 @@ sub nextfile {
srcset='/got.png, /got@2x.png 2x'
alt='"GOT" where the "O" is a cute smiling sun.' />
</a>
- <h1>$title</h1>
+ <h1>Game of Trees Mail Archive</h1>
+ $subtitle
</header>
<main>
EOF
Omar Polo