summaryrefslogtreecommitdiff
path: root/srv/almighty_ikiwiki_template.setup
blob: 4cba4b28d01c8b70907ed2a35f290edb3a229ac6 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/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 => "', # LATER MODIFIED BY LATER MODIFIED BY PINY
	# adminemail => "', # LATER MODIFIED BY LATER MODIFIED BY PINY
	# srcdir => "', # LATER MODIFIED BY PINY
	# destdir => "', # LATER MODIFIED BY PINY
	# url => "', # LATER MODIFIED BY PINY
	# cgiurl => "', # LATER MODIFIED BY PINY
	# historyurl => "', # LATER MODIFIED BY PINY
        # diffurl => "', # LATER MODIFIED BY PINY

	templatedir => "/srv/templates", # TODO: user-customizable templates
	underlaydir => "/etc/ikiwiki/share/underlay",

	rcs => "git",
	gitorigin_branch => "origin",
	gitmaster_branch => "master",

	# wrappers => [	], controlled by piny

	# 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{sidebar toc meta table tag graphviz httpauth img attachment rename remove map teximg version edittemplate}],
	disable_plugins => [qw{openid passwordauth}],
	teximg_prefix => "\\documentclass{scrartcl}
\\usepackage[version=3]{mhchem}
\\usepackage{amsmath}
\\usepackage{amsfonts}
\\usepackage{amssymb}
\\pagestyle{empty}
\\newcommand{\\unit}[1]{\\ensuremath{\\, \\mathrm{#1}}}
\\begin{document}",

	teximg_dvipng => 1,

	# For use with the tag plugin, make all tags be located under a
	# base page.
	tagbase => "tag",

	# For use with the search plugin if your estseek.cgi is located
	# somewhere else.
	#estseek => "/usr/lib/estraier/estseek.cgi",
};