commit - e65ce6ef12a98cb0510dc88ab5551658dea5a372
commit + 55669b34fcd12af771a3d73b0e511e9288037783
blob - 98d32ab50f7a187c4b692d3dd5e2db01efdfdc8a
blob + 84b9254d21efe35042ae3ece52cf5f43129162a7
--- GotMArc.pm
+++ GotMArc.pm
<$fh>;
}
-my $small_logo = readall "logo-small.html";
-my $hdr = readall "head.html";
-my $foot = readall "foot.html";
-my $idxhdr = readall "index-header.html";
+my $small_logo = readall "templates/logo-small.html";
+my $hdr = readall "templates/head.html";
+my $foot = readall "templates/foot.html";
+my $idxhdr = readall "templates/index-header.html";
sub initpage {
my ($fh, $title) = @_;
blob - deb2c2efbc69c0687adf25945afd27a519acb8df (mode 644)
blob + /dev/null
--- foot.html
+++ /dev/null
- <footer>
- <p>Game Of Trees Mail Archive</p>
- <nav>
- <ul>
- <li>
- <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>
- </li>
- <li>
- <a href='https://gameoftrees.org/'>Game of Trees</a>
- </li>
- </ul>
- </nav>
- </footer>
- </body>
-</html>
blob - 645e87d154d795011826359bae74da233dc7a8d7 (mode 644)
blob + /dev/null
--- head.html
+++ /dev/null
-<!doctype html>
-<html>
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width" />
- <link rel="stylesheet" href="/style.css" />
- <title>TITLE</title>
- </head>
- <body>
blob - a7696374a675e381787e40e28b7246ad2597501d (mode 644)
blob + /dev/null
--- index-header.html
+++ /dev/null
-<header class='index-header'>
- <a href="https://gameoftrees.org" target="_blank">
- <img src='/got.png'
- srcset='/got.png, /got@2x.png 2x'
- alt='"GOT" where the "O" is a cute smiling pufferfish.' />
- </a>
- <h1>Game of Trees Mail Archive</h1>
- <p>Page PAGE</p>
- <p>SUBTITLE</p>
-</header>
blob - 3685b971a9a049098cecfcec8e3fda83b73484e0 (mode 644)
blob + /dev/null
--- logo-small.html
+++ /dev/null
-<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 pufferfish.' /></a>
blob - /dev/null
blob + deb2c2efbc69c0687adf25945afd27a519acb8df (mode 644)
--- /dev/null
+++ templates/foot.html
+ <footer>
+ <p>Game Of Trees Mail Archive</p>
+ <nav>
+ <ul>
+ <li>
+ <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>
+ </li>
+ <li>
+ <a href='https://gameoftrees.org/'>Game of Trees</a>
+ </li>
+ </ul>
+ </nav>
+ </footer>
+ </body>
+</html>
blob - /dev/null
blob + 645e87d154d795011826359bae74da233dc7a8d7 (mode 644)
--- /dev/null
+++ templates/head.html
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width" />
+ <link rel="stylesheet" href="/style.css" />
+ <title>TITLE</title>
+ </head>
+ <body>
blob - /dev/null
blob + a7696374a675e381787e40e28b7246ad2597501d (mode 644)
--- /dev/null
+++ templates/index-header.html
+<header class='index-header'>
+ <a href="https://gameoftrees.org" target="_blank">
+ <img src='/got.png'
+ srcset='/got.png, /got@2x.png 2x'
+ alt='"GOT" where the "O" is a cute smiling pufferfish.' />
+ </a>
+ <h1>Game of Trees Mail Archive</h1>
+ <p>Page PAGE</p>
+ <p>SUBTITLE</p>
+</header>
blob - /dev/null
blob + 3685b971a9a049098cecfcec8e3fda83b73484e0 (mode 644)
--- /dev/null
+++ templates/logo-small.html
+<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 pufferfish.' /></a>