X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/de5eb4996bbc8ab7d4263e70913de63e146d808d..2078f706d656a12f0f9495e0bb348ee4b0282f42:/IkiWiki/Plugin/postsparkline.pm?ds=inline diff --git a/IkiWiki/Plugin/postsparkline.pm b/IkiWiki/Plugin/postsparkline.pm index dc996ae32..9e885741e 100644 --- a/IkiWiki/Plugin/postsparkline.pm +++ b/IkiWiki/Plugin/postsparkline.pm @@ -58,7 +58,7 @@ sub preprocess (@) { #{{{ if (! @data) { # generate an empty graph - push @data, 0 foreach 1..$params{max}; + push @data, 0 foreach 1..($params{max} / 2); } my $color=exists $params{color} ? "($params{color})" : "";