summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/rawhtml.pm
blob: 011c3a862c678d0cae73a3df3f669dec6b8d1917 (plain)
  1. #!/usr/bin/perl
  2. # Copy html files raw.
  3. package IkiWiki::Plugin::rawhtml;
  4. use warnings;
  5. use strict;
  6. use IkiWiki 2.00;
  7. sub import { #{{{
  8. $config{wiki_file_prune_regexps} = [ grep { !m/\\\.x\?html\?\$/ } @{$config{wiki_file_prune_regexps}} ];
  9. } # }}}
  10. 1