git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
index: retrieve git log from cached text include
[sheet.git]
/
index.plp
diff --git
a/index.plp
b/index.plp
index e0b761f43188eeb8fe4bb164d79db7fc642ba9e0..468e92731e84ec4d421f620895dd43416b61f340 100644
(file)
--- a/
index.plp
+++ b/
index.plp
@@
-2,7
+2,7
@@
Html({
title => 'cheat sheets',
Html({
title => 'cheat sheets',
- version => '1.1
0
',
+ version => '1.1
1
',
description => [
"Cheat sheets summarising various software programs and standards.",
],
description => [
"Cheat sheets summarising various software programs and standards.",
],
@@
-15,6
+15,7
@@
Html({
' title="RSS feed of repository updates"',
' href="http://git.shiar.nl/sheet.git/rss">',
],
' title="RSS feed of repository updates"',
' href="http://git.shiar.nl/sheet.git/rss">',
],
+ data => ['UPDATE'],
});
:>
});
:>
@@
-28,10
+29,10
@@
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>
<:
but you're free to use, print, alter, and redistribute under the AGPL license.
</p>
<:
-my @format = ('--date=short', "--pretty=%ad (%ar)\t%s");
-if (open my $log, '-|', git => 'log', -1, @format) {{
+if (open my $log, '<', 'UPDATE') {{
my $line = readline $log;
$line or next; # explicitly ignore empty input
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>";
my ($date, $subject) = split /[\t\n]/, $line;
$date =~ s/ \K/<small>/ and $date .= '</small>';
say "<p><strong>Last update</strong>: $date $subject</p>";
@@
-57,6
+58,7
@@
if (open my $log, '-|', git => 'log', -1, @format) {{
<h2>Unicode characters</h2>
<ul>
<li><a href="/charset">charsets</a>
<h2>Unicode characters</h2>
<ul>
<li><a href="/charset">charsets</a>
+<li><a href="/charset/unicode">unicode allocation</a>
<li><a href="/unicode">common glyphs</a>
<li><a href="/digraphs">digraphs</a>
<li><a href="/writing">alphabet comparison</a>
<li><a href="/unicode">common glyphs</a>
<li><a href="/digraphs">digraphs</a>
<li><a href="/writing">alphabet comparison</a>
@@
-77,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="/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>
</ul>
</div>
</nav>