index: link rss feed of git repository
[sheet.git] / index.plp
index ed321577bfa58e089de0b281f43e3a4dd3b74e79..c3b02ec36af7d7f031bd99811357d075bdb4cf66 100644 (file)
--- a/index.plp
+++ b/index.plp
@@ -2,13 +2,18 @@
 
 Html({
        title => 'cheat sheets',
-       version => '1.7',
+       version => '1.9',
        description => [
                "Cheat sheets summarising various software programs and standards.",
        ],
        keywords => [qw'
                sheet cheat reference software overview summary help keyboard map unicode
        '],
+       raw => [
+               '<link rel="alternate" type="application/rss+xml"',
+               ' title="RSS feed of repository updates"',
+               ' href="http://git.shiar.nl/sheet.git/rss">',
+       ],
 });
 
 :>
@@ -18,7 +23,7 @@ Html({
 Through the miracle of formatting, design, abbreviation, compression, and Perl,
 the following topics have been condensed into single pages of reference.
 <br>
-Originally created by Mischa <span style="font-variant:small-caps">Poslawsky</span>,
+Originally created by Mischa <span class="family-name">Poslawsky</span>,
 but you're free to use, print, alter, and redistribute under the AGPL license.
 </p>
 <:
@@ -28,10 +33,11 @@ if (open my $log, '-|', git => 'log', -1, @format) {{
        $line or next;  # explicitly ignore empty input
        my ($date, $subject) = split /[\t\n]/, $line;
        $date =~ s/ \K/<small>/ and $date .= '</small>';
-       print "<p><strong>Last update</strong>: $date $subject</p>\n";
+       say "<p><strong>Last update</strong>: $date $subject</p>";
 }}
 
 :>
+<nav>
 <div class="section">
 <h2>Keyboard maps</h2>
 <ul>
@@ -53,6 +59,7 @@ if (open my $log, '-|', git => 'log', -1, @format) {{
 <li><a href="/unicode">common glyphs</a>
 <li><a href="/digraphs">digraphs</a>
 <li><a href="/writing">alphabet comparison</a>
+<li><a href="/latin">latin variants</a>
 <li><a href="/font">font coverage</a>
 </ul>
 </div>
@@ -70,4 +77,5 @@ if (open my $log, '-|', git => 'log', -1, @format) {{
 <li><a href="/emoji">emoticons</a>
 </ul>
 </div>
+</nav>