aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-09 13:37:06 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-09 13:37:06 -0400
commitc5e237c0135e28f3399830abcbdae844d3006a84 (patch)
treeb85082fe1f62289deec120ab4a3d9a5f1dfcd7da /IkiWiki
parent1b6b1ee2d8f2e148bca301b177713ca35d2b8691 (diff)
downloadikiwiki-c5e237c0135e28f3399830abcbdae844d3006a84.tar
ikiwiki-c5e237c0135e28f3399830abcbdae844d3006a84.tar.gz
img: use presence dependency when linking to a page
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/img.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm
index e2f541506..32023fa97 100644
--- a/IkiWiki/Plugin/img.pm
+++ b/IkiWiki/Plugin/img.pm
@@ -170,7 +170,7 @@ sub preprocess (@) {
my $b = bestlink($params{page}, $params{link});
if (length $b) {
- add_depends($params{page}, $b);
+ add_depends($params{page}, $b, deptype("presence"));
$imgtag=htmllink($params{page}, $params{destpage},
$params{link}, linktext => $imgtag,
noimageinline => 1);