diff options
author | Joey Hess <joey@kitenet.net> | 2012-12-27 22:29:51 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-12-27 22:29:51 -0400 |
commit | 86519b047e6fb96e4c5c5b22cb9619d120bf566e (patch) | |
tree | f241f22e5788bbff2ae4c71923876e644695d06f /IkiWiki/Plugin/trail.pm | |
parent | dc05125b0bdd7c579e36203ce2b16c86f6d8092f (diff) | |
download | ikiwiki-86519b047e6fb96e4c5c5b22cb9619d120bf566e.tar ikiwiki-86519b047e6fb96e4c5c5b22cb9619d120bf566e.tar.gz |
trail: Converted all dependencies to presence dependencies.
smcv please note this introduces another bug, which I've opened
Diffstat (limited to 'IkiWiki/Plugin/trail.pm')
-rw-r--r-- | IkiWiki/Plugin/trail.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/trail.pm b/IkiWiki/Plugin/trail.pm index 7d2338f9b..cf0f0a15e 100644 --- a/IkiWiki/Plugin/trail.pm +++ b/IkiWiki/Plugin/trail.pm @@ -318,7 +318,7 @@ sub prerender { $prev = $members->[$i - 1] if $i > 0; my $next = $members->[$i + 1]; - add_depends($member, $trail); + add_depends($member, $trail, deptype("presence")); $member_to_trails{$member}{$trail} = [$prev, $next]; } @@ -406,13 +406,13 @@ sub pagetemplate (@) { my ($prevurl, $nexturl, $prevtitle, $nexttitle); if (defined $prev) { - add_depends($params{destpage}, $prev); + add_depends($params{destpage}, $prev, deptype("presence")); $prevurl = urlto($prev, $page); $prevtitle = title_of($prev); } if (defined $next) { - add_depends($params{destpage}, $next); + add_depends($params{destpage}, $next, deptype("presence")); $nexturl = urlto($next, $page); $nexttitle = title_of($next); } |