trail: call prerender from build_affected
authorSimon McVittie <smcv@debian.org>
Wed, 2 Jan 2013 17:36:17 +0000 (17:36 +0000)
committerSimon McVittie <smcv@debian.org>
Wed, 2 Jan 2013 19:19:32 +0000 (19:19 +0000)
commit1daa68b8b7a496736cc27f80c1de2bd4d97d5225
tree46053aa1d38874e379b30419275a14fe6fc25341
parent48664cb9336fed62d297b84ea30806fc802aa42c
trail: call prerender from build_affected

In the unlikely event that the ordered contents of a trail have changed
without the TRAILS or TRAILLOOP template variables being evaluated
(for instance, all trail directives are removed from a former trail
that uses a custom pagetemplate that doesn't contain TRAILS), we might
get here without having already called prerender.
IkiWiki/Plugin/trail.pm