]> sipb.mit.edu Git - ikiwiki.git/commitdiff
inline: When the pagenames list includes pages that do not exist, skip them.
authorJoey Hess <joey@kitenet.net>
Wed, 21 Mar 2012 19:47:34 +0000 (15:47 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 21 Mar 2012 19:48:25 +0000 (15:48 -0400)
bestlink returns '' if no existing page matches a link. This propigated
through inline and other plugins, causing uninitialized value warnings, and
in some cases (when filecheck was enabled) making the whole directive fail.

Skipping the empty results fixes that, but this is papering over another
problem: If the missing page is later added, there is not dependency
information to know that the inline needs to be updated. Perhaps smcv will
fix that later.


No differences found