Almost-minimal filesystem based blog.

43 lines
1.3 KiB

  1. # conf.pl - sample configuration file for Wala.pm
  2. # This is the working configuration I use with Wala.pm on p1k3.com.
  3. ##################
  4. # WALA OPTIONS #
  5. ##################
  6. our %WalaConf = (
  7. RecentChangesMaxLines => 50,
  8. DefaultUserName => 'Anonymous',
  9. StyleSheet => 'http://p1k3.com/wala/wala.css',
  10. DefaultPageText => "Write something.\n",
  11. CookieSurvivalDays => 90,
  12. HomePage => "HomePage",
  13. TimeZone => "UTC",
  14. TitleString => "p1k3 wala::",
  15. ScriptName => "http://p1k3.com/wala/wala.pl",
  16. CheckSetup => 0,
  17. # No trailing slash on RootDir, please.
  18. RootDir => "/home/bbearnes/p1k3.com/wala",
  19. FeedURL => "http://p1k3.com/wala/wala_feed.pl",
  20. ShowSearchlinks => 1,
  21. UseCache => 0,
  22. );
  23. $WalaConf{LogFile} = $WalaConf{RootDir} . '/log';
  24. $WalaConf{PagesDir} = $WalaConf{RootDir} . '/pages';
  25. $WalaConf{CacheDir} = $WalaConf{RootDir} . '/cache';
  26. $WalaConf{DiffDir} = $WalaConf{RootDir} . '/diffs';
  27. ########################
  28. # display.pl options #
  29. ########################
  30. our %DISPLAY_CONF = (
  31. # set the root directory for archived files
  32. ROOT_DIR => "/home/bbearnes/p1k3.com/archives",
  33. # and the root URLs the world will see on the server
  34. URL_ROOT => "http://p1k3.com/",
  35. IMAGE_URL_ROOT => "http://p1k3.com/"
  36. );