graphviz: Fix breakage of the name of the preprocessor directive.
[ikiwiki.git] / IkiWiki / Plugin / graphviz.pm
index 999edd8ee6d23ce756e13a1a1cf862eec2a86753..20b419413094f5f7dbbbd16ec78efca947da3e01 100644 (file)
@@ -10,7 +10,7 @@ use IPC::Open2;
 
 sub import { #{{{
        hook(type => "getsetup", id => "graphviz", call => \&getsetup);
-       hook(type => "preprocess", id => "graphviz", call => \&graph);
+       hook(type => "preprocess", id => "graph", call => \&graph);
 } # }}}
 
 sub getsetup () { #{{{