#!/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, prefs => 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 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", };