summaryrefslogtreecommitdiff
path: root/ikiwiki.setup
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki.setup')
-rw-r--r--ikiwiki.setup47
1 files changed, 26 insertions, 21 deletions
diff --git a/ikiwiki.setup b/ikiwiki.setup
index c96a45f..90e36e3 100644
--- a/ikiwiki.setup
+++ b/ikiwiki.setup
@@ -6,18 +6,21 @@
# Remember to re-run ikiwiki --setup any time you edit this file.
use IkiWiki::Setup::Standard {
- wikiname => "MyWiki",
+ wikiname => "Sukker",
#adminuser => ["yourname", ],
- adminemail => 'me@example.org',
+ adminemail => 'webmaster@jones.dk',
# Be sure to customise these..
- srcdir => "/path/to/source",
- destdir => "/var/www/wiki",
+ srcdir => $ENV{'HOME'} . "/private_webdata/sukker/content_dummy",
+ destdir => $ENV{'HOME'} . "/public_websites/sukker.biks.dk",
- url => "http://example.org/wiki",
- cgiurl => "http://example.org/ikiwiki.cgi",
- #templatedir => "/usr/share/ikiwiki/templates",
- #underlaydir => "/usr/share/ikiwiki/basewiki",
+ url => "http://sukker.biks.dk",
+ #cgiurl => "http://example.org/ikiwiki.cgi",
+ templatedir => $ENV{'HOME'} . "/private_webdata/sukker/templates",
+ underlaydirs => [
+ $ENV{'HOME'} . "/private_webdata/sukker/content",
+ ],
+ underlaydir => $ENV{'HOME'} . "/private_webdata/sukker/basewiki",
# Subversion stuff.
#rcs => "svn",
@@ -26,7 +29,7 @@ use IkiWiki::Setup::Standard {
#svnpath => "trunk",
# Git stuff.
- #rcs => "git",
+ rcs => "git",
#historyurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
#diffurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
#gitorigin_branch => "origin",
@@ -82,14 +85,14 @@ use IkiWiki::Setup::Standard {
# # hide output and errors.
# syslog => 1,
#},
- #{
+ {
# # The git post-update wrapper.
# # Note that this will overwrite any existing
# # post-update hook script, which may not be
# # what you want.
- # wrapper => "/git/wiki.git/hooks/post-update",
- # wrappermode => "06755",
- #},
+ wrapper => $ENV{'HOME'} . "/public_websites/source.jones.dk/sukker_content.git/hooks/post-update-sukker",
+ wrappermode => "06755",
+ },
],
# Default to generating rss feeds for blogs?
@@ -102,18 +105,18 @@ use IkiWiki::Setup::Standard {
# Urls to ping with XML-RPC when rss feeds are updated
#pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
# Include discussion links on all pages?
- discussion => 1,
+ 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',
+ timeformat => '%A d. %e. %B kl. %R (dansk tid)',
# Locale to use. Must be a UTF-8 locale.
- #locale => 'en_US.UTF-8',
+ locale => 'da_DK.UTF-8',
# Only send cookies over SSL connections.
- #sslcookie => 1,
+ sslcookie => 1,
# Logging settings:
#verbose => 1,
syslog => 0,
@@ -130,12 +133,11 @@ use IkiWiki::Setup::Standard {
#recentchangesnum => 100,
# To add plugins, list them here.
- #add_plugins => [qw{goodstuff search wikitext camelcase
- # htmltidy fortune sidebar map rst anonok}],
+ add_plugins => [qw{goodstuff typography sidebar favicon graphviz}],
# If you want to disable any of the default plugins, list them here.
- #disable_plugins => [qw{inline htmlscrubber passwordauth openid}],
+ disable_plugins => [qw{openid recentchanges}],
# To add a directory to the perl search path, use this.
- #libdir => "/home/me/.ikiwiki/",
+ libdir => "/home/debian/private_webdata/sukker/perl",
# For use with the tag plugin, make all tags be located under a
# base page.
@@ -154,4 +156,7 @@ use IkiWiki::Setup::Standard {
# mirror1 => "http://hostname1",
# mirror2 => "http://hostname2/mirror",
#},
+
+ # Avoid english-only Text::Typography hyphen conversion
+ typographyattributes => 'ie',
}