]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/contrib/siterel2pagerel.mdwn
web commit by tschwinge: Set the title *after* instantiating the templates.
[ikiwiki.git] / doc / plugins / contrib / siterel2pagerel.mdwn
index 50d901417fb100d34c035fd137b22c47cc30b21c..06c9bbc29d8b356762d3c5c32c16196ac37ef7ac 100644 (file)
@@ -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;