index: link to dieren page
[sheet.git] / index.plp
index 81895192ba172dcd937df77c9980da8794cf214c..c2e939bc90b569f7cac2daeaf456a6567f30c00f 100644 (file)
--- a/index.plp
+++ b/index.plp
@@ -2,7 +2,7 @@
 
 Html({
        title => 'cheat sheets',
-       version => '1.10',
+       version => '1.11',
        description => [
                "Cheat sheets summarising various software programs and standards.",
        ],
@@ -32,6 +32,7 @@ my @format = ('--date=short', "--pretty=%ad (%ar)\t%s");
 if (open my $log, '-|', git => 'log', -1, @format) {{
        my $line = readline $log;
        $line or next;  # explicitly ignore empty input
+       EscapeHTML $line;
        my ($date, $subject) = split /[\t\n]/, $line;
        $date =~ s/ \K/<small>/ and $date .= '</small>';
        say "<p><strong>Last update</strong>: $date $subject</p>";
@@ -78,6 +79,7 @@ if (open my $log, '-|', git => 'log', -1, @format) {{
 <li><a href="/sc/2">starcraft 2 units</a>
        (<a href="/sc" title="StarCraft: Brood War">bw</a>)
 <li><a href="/emoji">emoticons</a>
+<li><a href="/dieren">dieren (Dutch animals)</a>
 </ul>
 </div>
 </nav>