Commit Diff
Commit:
4a89bbd3ec4dac66f4ff19965d322916beddd43b
From:
Omar Polo <op@omarpolo.com>
Date:
Thu Aug 25 09:29:59 2022 UTC
Message:
some tweaks to the generated HTML
commit - 30f047cf5c2409df4fe2336dbeed17b2369a70f3
commit + 4a89bbd3ec4dac66f4ff19965d322916beddd43b
blob - 6cbaf2b01a142d5b24dc679314eaacfac82584de
blob + deb2c2efbc69c0687adf25945afd27a519acb8df
--- foot.html
+++ foot.html
@@ -3,7 +3,7 @@
<nav>
<ul>
<li>
- <a href='index.html'>Index</a>
+ <a href='/'>Index</a>
</li>
<li>
<a href='https://lists.openbsd.org/cgi-bin/mj_wwwusr?user=&passw=&func=lists-long-full&extra=gameoftrees'>Mailing List</a>
blob - 96aa35ea2788149a31b580bd13591450f2c74af4
blob + 421cfa87498cc79ff8f05f528dd64aa77e2e67ff
--- mexp
+++ mexp
@@ -25,10 +25,11 @@ my $logo = <<EOF;
};
my $logo = <<EOF;
-<img srcset='/got-tiny.png, /got-tiny@2x.png 2x'
- src='/got-tiny.png'
- width='64' height='39'
- alt='"GOT", but the "O" is a cute, smiling sun' />
+<a href="https://gameoftrees.org" target="_blank">
+ <img srcset='/got-tiny.png, /got-tiny@2x.png 2x'
+ src='/got-tiny.png'
+ width='64' height='39'
+ alt='"GOT", but the "O" is a cute, smiling sun' /></a>
EOF
sub san {
@@ -102,9 +103,9 @@ while (<>) {
print $fh "<header class='mail-header'>";
print $fh "<p>";
print $fh $logo;
- print $fh "<a href='/'>← Back to the index</a>";
- print $fh " or ";
- print $fh "<a href='/thread/$tid.html#$mid'>→ go to the thread</a>.";
+ print $fh "<a href='/'>Index</a>";
+ print $fh " | ";
+ print $fh "<a href='/thread/$tid.html#$mid'>Thread</a>";
print $fh "</p>";
print $fh "<dl>";
while (<$mshow>) {
@@ -121,7 +122,7 @@ while (<>) {
print $fh "<dd>", san($v), "</dd>";
}
print $fh "</dl>";
- print $fh "<p>Raw <a href='/mbox/$mid.mbox'>message</a>";
+ print $fh "<p>Download raw <a href='/mbox/$mid.mbox'>message</a>";
print $fh " or <a href='/text/$mid.txt'>body</a>.</p>";
print $fh "</header>";
blob - 4ce043ba1f44e3dde7a73c19700e0422ad9c2786
blob + 0a83b2df07f5a04d719d5bce25a10e102f7e2af6
--- mkindex
+++ mkindex
@@ -19,10 +19,11 @@ my $logo = <<EOF;
my $entries_per_page = 100;
my $logo = <<EOF;
-<img srcset='/got-tiny.png, /got-tiny@2x.png 2x'
- src='/got-tiny.png'
- width='64' height='39'
- alt='"GOT", but the "O" is a cute, smiling sun' />
+<a href="https://gameoftrees.org" target="_blank">
+ <img srcset='/got-tiny.png, /got-tiny@2x.png 2x'
+ src='/got-tiny.png'
+ width='64' height='39'
+ alt='"GOT", but the "O" is a cute, smiling sun' /></a>
EOF
sub san {
@@ -120,7 +121,7 @@ sub nextthread {
print $tfh "<header class='mail-header'>";
print $tfh "<p>";
print $tfh $logo;
- print $tfh "<a href='/'>‹ Back to the index</a>";
+ print $tfh "<a href='/'>Index</a>";
print $tfh "</p>";
print $tfh "<dl><dt>Thread:</dt><dd>$subj</dd></dl>";
print $tfh "</header>\n";
Omar Polo