]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/date.pm
response
[git.ikiwiki.info.git] / IkiWiki / Plugin / date.pm
index 8f2aa73d6f60eeca3aece6954a146219ebc63feb..ea5c9a9c5dae9e29ef5ca73b6a066c495405f7b9 100644 (file)
@@ -6,8 +6,8 @@ use strict;
 use IkiWiki 3.00;
 
 sub import {
 use IkiWiki 3.00;
 
 sub import {
-       hook(type => "getsetup", id => "meta", call => \&getsetup);
-       hook(type => "preprocess", id => "meta", call => \&preprocess);
+       hook(type => "getsetup", id => "date", call => \&getsetup);
+       hook(type => "preprocess", id => "date", call => \&preprocess);
 }
 
 sub getsetup () {
 }
 
 sub getsetup () {
@@ -15,6 +15,7 @@ sub getsetup () {
                plugin => {
                        safe => 1,
                        rebuild => undef,
                plugin => {
                        safe => 1,
                        rebuild => undef,
+                       section => "widget",
                },
 }
 
                },
 }