diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-09 13:37:06 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-09 13:37:06 -0400 |
commit | c5e237c0135e28f3399830abcbdae844d3006a84 (patch) | |
tree | b85082fe1f62289deec120ab4a3d9a5f1dfcd7da | |
parent | 1b6b1ee2d8f2e148bca301b177713ca35d2b8691 (diff) | |
download | ikiwiki-c5e237c0135e28f3399830abcbdae844d3006a84.tar ikiwiki-c5e237c0135e28f3399830abcbdae844d3006a84.tar.gz |
img: use presence dependency when linking to a page
-rw-r--r-- | IkiWiki/Plugin/img.pm | 2 |
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); |