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