summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/underlaydirbase.pm
blob: adc4749504646c2f3372981ed82053b65dc4566c (plain)
  1. #!/usr/bin/perl
  2. # Underlaydirbase plugin.
  3. # by Jonas Smedegaard <dr@jones.dk>
  4. package IkiWiki::Plugin::underlaydirbase;
  5. use warnings;
  6. use strict;
  7. use IkiWiki 3.00;
  8. my ($master_language_code, $master_language_name);
  9. sub import {
  10. hook(type => "getsetup", id => "underlaydirbase", call => \&getsetup);
  11. }
  12. sub getsetup () {
  13. return
  14. plugin => {
  15. safe => 0,
  16. rebuild => 1,
  17. },
  18. underlaydirbase => {
  19. type => "string",
  20. safe => 0,
  21. rebuild => 1,
  22. },
  23. }
  24. 1