From: Simon Tatham Date: Tue, 5 Sep 2017 20:02:18 +0000 (+0100) Subject: Make the images on the web page link to the JS puzzles. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=b36298ab4d3e52868d115afca0e26b310eeb06dc;p=sgt-puzzles.git Make the images on the web page link to the JS puzzles. I've been thinking for a while that it's about time I did that. Those images used to link to the Java versions of the puzzles, back when Java was the in-browser applet platform of choice; then I made them not link to either one when it wasn't clear which system would win; but now JS has clearly won, it's past time the images linked to the JS puzzles, as the obviously sensible default. --- diff --git a/webpage.pl b/webpage.pl index 3a0779e..c6144bb 100755 --- a/webpage.pl +++ b/webpage.pl @@ -27,7 +27,7 @@ while (<$desc>) { ''. ''. ''. '
%s
'. - ''. + ''. '
['. ' java '. @@ -41,6 +41,7 @@ while (<$desc>) { '
%s
'. "\n", encode_entities($displayname), + encode_entities($id), encode_entities($description), encode_entities($id), encode_entities($id),