comparison dottes.html @ 360:01ded8741361

Use server-side includes (with Apache XBitHack setting) in web. This means that we can have one main web page, dottes.html, for each book and include the intro and tunelist to make the page. This removes the separate header and footer components. Perhaps we should use a template engine instead to generate the output. That means choosing one. And preferably one that isn't aimed only at HTML so we could use it for the printed books. More research required.
author Jim Hague <jim.hague@acm.org>
date Wed, 21 Aug 2013 10:32:50 +0100
parents dottes.html.header@583c06d0e9ef
children e4d6a612c755
comparison
equal deleted inserted replaced
359:2a7d03d6a89f 360:01ded8741361
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8" />
5 <title>Cry Havoc tunes - @TITLE@</title>
6 <link rel="stylesheet" href="../css/reset.css" />
7 <link rel="stylesheet" href="../css/text.css" />
8 <link rel="stylesheet" href="../css/960.css" />
9 <link rel="stylesheet" href="../css/dottes.css" />
10
11 <link href='http://fonts.googleapis.com/css?family=Pirata+One|Oswald'
12 rel='stylesheet' type='text/css'>
13 </head>
14 <body>
15 <div class="container_12">
16 <a href="/">
17 <div class="grid_12 header-strip banner">
18 <h1>Ye Crie Havock Booke of Dottes</h1>
19 </div>
20 </a>
21
22 <div class="grid_12 dottes-body">
23 <h1>@SUBTITLE@</h1>
24 <!--#include file="intro.html" -->
25 <p>@INTRO@
26 <p>You can download a PDF with a booklet of these tunes. There is an
27 <a href="@BOOK@-A5.pdf">A5 landscape book</a> with one
28 tune per page, a <a href="@BOOK@-Nook.pdf">4x5in portrait book</a>
29 suitable for use with an eReader like a Kindle, Nook, Kobo etc.,
30 and an <a href="@BOOK@-A4.pdf">A4 book</a> with two or
31 more tunes per page.
32 <p>If you have a printer that can do duplex (i.e. print on both sides
33 of the paper), you might like the
34 <a href="@BOOK@-A5bookletA4.pdf">A5 booklet</a>.
35 Print this onto A4 paper using both sides of the paper, and fold in half
36 to make an A5 booklet.
37 <p>When changes to this site are made, the issue number is incremented.
38 This is issue @BUILD@.
39 </div>
40
41 <div class="grid_12 dottes-body">
42 <h1>The tunes</h1>
43 <div class="dottes-tune-list">
44 <!--#include file="tunelist.html" -->
45 </div>
46 </div>
47 </div>
48 </body>
49 </html>