]> sipb.mit.edu Git - ikiwiki.git/commitdiff
magic 0
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 7 Apr 2007 16:55:16 +0000 (16:55 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 7 Apr 2007 16:55:16 +0000 (16:55 +0000)
IkiWiki/Render.pm
doc/bugs/No_numbacklinks_setting_for___34__no_limit__34__.mdwn
doc/usage.mdwn
po/ikiwiki.pot

index b65d200a01ea9fcab3d1d474c57d988adcaf82c6..600318e687498c4c98889e698e36481b74c53164 100644 (file)
@@ -46,7 +46,7 @@ sub backlinks ($) { #{{{
        }
        @links = sort { $a->{page} cmp $b->{page} } @links;
 
-       return \@links, [] if @links <= $config{numbacklinks};
+       return \@links, [] if @links <= $config{numbacklinks} && ! $config{numbacklinks};
        return [@links[0..$config{numbacklinks}-1]],
               [@links[$config{numbacklinks}..$#links]];
 } #}}}
index 7a8d189aeab5696638c52be06c3bc3ed08e9100e..230befcdd9733c31f6eba1d96da3c262aeb74410 100644 (file)
@@ -1 +1,4 @@
-No value for `numbacklinks` will achieve a setting of "no limit". --[[JoshTriplett]]
\ No newline at end of file
+No value for `numbacklinks` will achieve a setting of "no limit".
+--[[JoshTriplett]]
+
+0 [[done]] --[[Joey]]
index f80b02ff173ed55a53a71ead2f925b8bc62e6cd5..1d545e82375d66163c0ce752a7ec7b374bc565b0 100644 (file)
@@ -236,7 +236,7 @@ configuration options of their own.
 * --numbacklinks n
 
   Controls how many backlinks should be displayed maximum. Excess backlinks
-  will be hidden in a popup. Default is 10.
+  will be hidden in a popup. Default is 10. Set to 0 to disable this feature.
 
 * --userdir subdir
 
index 29db5e4d3df9af8be168357f4bdc919300906bc1..9cead618350886ea8e3bd82e34d20e8b07d0a35e 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-04-06 17:19-0400\n"
+"POT-Creation-Date: 2007-04-06 19:31-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"