]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/editdiff.pm
display the pagetitle() in linkmaps
[git.ikiwiki.info.git] / IkiWiki / Plugin / editdiff.pm
index 7df6a9ffb42f53960f4881b43b34b86f49f6e798..015ce9c148d554c29a3db6a04227a2a50c88f02e 100644 (file)
@@ -19,6 +19,7 @@ sub getsetup () {
                plugin => {
                        safe => 1,
                        rebuild => 0,
+                       section => "web",
                },
 }
 
@@ -70,7 +71,7 @@ sub formbuilder_setup {
                $content=~s/\r/\n/g;
 
                my $diff = diff(srcfile($pagesources{$page}), $content);
-               $form->tmpl_param("page_preview", $diff);
+               $form->tmpl_param("page_diff", $diff);
        }
 }