Skip to content
Snippets Groups Projects
ikiwiki.setup 1.36 KiB
#!/usr/bin/perl
# Configuration file for ikiwiki.
use IkiWiki::Setup::Standard {
  # Basic
  wikiname   => "cypherprank machine",
  adminuser  => ["rhatto", ],
  adminemail => 'rhatto@riseup.net',
  srcdir     => ".",
  destdir    => "www",
  url        => "https://blog.fluxo.info",
  cgiurl     => "https://blog.fluxo.info/ikiwiki.cgi",

  # Git stuff
  # See https://ikiwiki.info/tips/laptop_wiki_with_git/
  rcs              => "git",
  historyurl       => "https://git.fluxo.info/blog/log/[[file]]",
  diffurl          => 'https://git.fluxo.info/blog/commit/[[file]]?id=[[sha1_commit]]',
  gitorigin_branch => '',

  # Misc
  wrappers   => [ ],
  rss        => 1,
  discussion => 0,

  # To exclude files matching a regexp from processing. This adds to
  # the default exclude list.
  #
  # Make sure to delete .ikiwiki/indexdb if you also change this, see
  # https://ikiwiki.info/forum/Need_something_more_powerful_than_Exclude/
  exclude => qr/(www|drafts)/i,

  # See https://ikiwiki.info/tips/htaccess_file/
  include => '^\.htaccess$',

  # Time format (for strftime)
  #timeformat => '%c',
  # Locale to use. Must be a UTF-8 locale.
  #locale => 'en_US.UTF-8',

  # Uncomment to force ikiwiki to run with a particular umask.
  umask => 002,

  # To add or disable plugins, list them here.
  add_plugins     => [qw{goodstuff sidebar}],
  disable_plugins => [qw{openid editpage}],
}