Almost-minimal filesystem based blog.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.5 KiB

  1. ##################
  2. # WALA OPTIONS #
  3. ##################
  4. %WalaConf = (
  5. RecentChangesMaxLines => 50, # Max lines to display in RecentChanges
  6. DefaultUserName => 'Anonymous', # Default user name
  7. StyleSheet => 'wala.css', # URL of style sheet
  8. DefaultPageText => "Write something.\n",
  9. CookieSurvivalDays => 90, # Number of days for cookies to remain
  10. RootDir => '.', # No trailing slash, please
  11. HomePage => 'HomePage', # Name of default page
  12. TimeZone => 'UTC', # Currently just a string to display
  13. TitleString => 'wala::', # Display before page names in titles
  14. ScriptName => 'wala.pl', # substr( $0, rindex( $0, "/" ) + 1 );
  15. ShowSearchlinks => 1, # Display "see also" box on pages
  16. UseCache => 0, # Don't cache generated pages
  17. # Check for important files every time we run the script.
  18. # This can be changed to 0 for faster load times once everything
  19. # is working:
  20. CheckSetup => 1,
  21. # Uncomment and set to use a feed script:
  22. #FeedURL => "http://path/to/wala/feed.pl",
  23. );
  24. # Set some important paths relative to our root directory:
  25. $WalaConf{LogFile} = $WalaConf{RootDir} . '/log';
  26. $WalaConf{PagesDir} = $WalaConf{RootDir} . '/pages';
  27. $WalaConf{CacheDir} = $WalaConf{RootDir} . '/cache';
  28. $WalaConf{DiffDir} = $WalaConf{RootDir} . '/diffs';
  29. # Should be empty unless we're going to use display.pl:
  30. %DISPLAY_CONF = (
  31. );