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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
#!/usr/bin/perl
# Base template for Ikiwiki configuration
# Overrides can be added globally to /etc/ikiwiki/piny.setup.pl and
# individually to /etc/ikiwiki/piny/name-of-repository.setup.pl at which point
# rebuildrepo will include them in future setup files.
use IkiWiki::Setup::Standard {
# wikiname => "", # OVERWRITTEN BY PINY
# adminemail => "", # OVERWRITTEN BY PINY
# srcdir => "", # OVERWRITTEN BY PINY
# destdir => "", # OVERWRITTEN BY PINY
# url => "", # OVERWRITTEN BY PINY
# cgiurl => "", # OVERWRITTEN BY PINY
# historyurl => "", # OVERWRITTEN BY PINY
# diffurl => "", # OVERWRITTEN BY PINY
# wrappers => [ ], # OVERWRITTEN BY PINY
templatedir => "/srv/templates", # TODO: user-customizable templates
underlaydir => "/usr/share/ikiwiki/basewiki",
rcs => "git",
gitorigin_branch => "origin",
gitmaster_branch => "master",
# Generate rss feeds for blogs?
rss => 1,
# Generate atom feeds for blogs?
atom => 0,
# Include discussion links on all pages?
discussion => 0,
# To exclude files matching a regexp from processing. This adds to
# the default exclude list.
#exclude => qr/*\.wav/,
# To change the extension used for generated html files.
#htmlext => "htm",
# Time format (for strftime)
#timeformat => "%c",
# Locale to use. Must be a UTF-8 locale.
#locale => "en_US.UTF-8",
# Only send cookies over SSL connections.
sslcookie => 1,
# Logging settings:
verbose => 0,
syslog => 1,
# To link to user pages in a subdirectory of the wiki.
#userdir => "users",
# To create output files named page.html rather than page/index.html.
usedirs => 1,
# Simple spam prevention: require an account-creation password.
#account_creation_password => "example",
# Use new "!"-prefixed preprocessor directive syntax
prefix_directives => 1,
httpauth => 1,
# To add plugins, list them here.
add_plugins => [qw{autoindex sidebar toc meta table tag graphviz httpauth img attachment rename remove map search teximg version edittemplate rawhtml}],
disable_plugins => [qw{openid passwordauth htmlscrubber}],
teximg_prefix => "\\documentclass{scrartcl}
\\usepackage[version=3]{mhchem}
\\usepackage{amsmath}
\\usepackage{amsfonts}
\\usepackage{amssymb}
\\pagestyle{empty}
\\begin{document}",
teximg_dvipng => 1,
# For use with the tag plugin, make all tags be located under a
# base page.
tagbase => "tag",
tag_autocreate => 1,
# this uses transient.pm, which shows up in Ikiwiki in early 2011
tag_autocreate_commit => 0,
autoindex_commit => 0,
# For use with the search plugin if your estseek.cgi is located
# somewhere else.
#estseek => "/usr/lib/estraier/estseek.cgi",
};
|