aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.setup
blob: bb20644000b8d64423d05ae7dfdd2ff5e95e045c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/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}],
}