aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.setup
blob: bb6d2e3bfe61f5a80b4521ef2c4580b115f97669 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/perl
# Configuration file for ikiwiki.
# Passing this to ikiwiki --setup will make ikiwiki generate wrappers and
# build the wiki.
#
# Remember to re-run ikiwiki --setup any time you edit this file.

use IkiWiki::Setup::Standard {
  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.
  rcs => "git",
  historyurl => "https://git.fluxo.info/blog/log/[[file]]",
  diffurl => 'https://git.fluxo.info/blog/commit/[[file]]?id=[[sha1_commit]]',
  # See https://ikiwiki.info/tips/laptop_wiki_with_git/
  gitorigin_branch => '',

  wrappers => [ ],

  # Default to generating rss feeds for pages with feeds?
  rss => 1,
  # Default to generating atom feeds for pages with feeds?
  #atom => 1,
  # Allow generating feeds even if not generated by default?
  #allowrss => 1,
  #allowatom => 1,
  # Urls to ping with XML-RPC when feeds are updated
  #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
  # Include discussion links on all pages?
  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}],
}