X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5644e171d0c25697cf338a51e28e9ce814e3ac13..c48efcf8a4ac83df6355423ddd856190a9c868d1:/doc/plugins/contrib/siterel2pagerel.mdwn diff --git a/doc/plugins/contrib/siterel2pagerel.mdwn b/doc/plugins/contrib/siterel2pagerel.mdwn index 50d901417..06c9bbc29 100644 --- a/doc/plugins/contrib/siterel2pagerel.mdwn +++ b/doc/plugins/contrib/siterel2pagerel.mdwn @@ -1,7 +1,12 @@ -This is a simple plugin to convert all site-relative links to page-relative links (converts /foo into ../../../foo or similar). It works as a postprocessing filter, allowing it to work on mdwn, wiki, html, rst and any other format that produces html. The code is available here: +[[template id=plugin name=siterel2pagerel author="[[PaulWise]]"]] + +This is a simple plugin to convert all site-relative links to page-relative +links (converts /foo into ../../../foo or similar). It works as a +postprocessing filter, allowing it to work on mdwn, wiki, html, rst and any +other format that produces html. The code is available here: #!/usr/bin/perl - # quick HTML abs2rel link hack by Paul Wise + # quick HTML siterel2pagerel link hack by Paul Wise package IkiWiki::Plugin::siterel2pagerel; use warnings;