]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/todo/Inline_plugin_option_to_show_full_page_path.mdwn
response
[git.ikiwiki.info.git] / doc / todo / Inline_plugin_option_to_show_full_page_path.mdwn
index 30490e9d34bf67948721d299950fb5a2c8e0a021..69169400968b8b6f4f45847c4ac5871f38fe9146 100644 (file)
@@ -19,10 +19,12 @@ Cheers,
        index 59eabb6..82913ba 100644
        --- a/IkiWiki/Plugin/inline.pm
        +++ b/IkiWiki/Plugin/inline.pm
-       @@ -229,6 +229,7 @@ sub preprocess_inline (@) { #{{{
+       @@ -229,6 +229,7 @@ sub preprocess_inline (@) {
                                                $template->param(content => $content);
                                        }
                                        $template->param(pageurl => urlto(bestlink($params{page}, $page), $params{destpage}));
        +                               $template->param(page => $page);
                                        $template->param(title => pagetitle(basename($page)));
                                        $template->param(ctime => displaytime($pagectime{$page}, $params{timeformat}));
+
+Cool, I'll give it a try, thanks! -- [[AdamShand]]