summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--ikiwiki_nb.setup (renamed from ikiwiki.setup)7
2 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0bbec9c..8bf12d5 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ ikiwiki_templates_FLAVORS = nonedit
dummy_MODULES = content_dummy
# uncomment this when ikiwiki.setup is configured for the local environment
-#CONFIGS = ikiwiki.setup ikiwiki_admin.setup
+#CONFIGS = ikiwiki_nb.setup ikiwiki_nb_admin.setup
# Everything after this is generic
diff --git a/ikiwiki.setup b/ikiwiki_nb.setup
index afe0e87..de710dc 100644
--- a/ikiwiki.setup
+++ b/ikiwiki_nb.setup
@@ -16,10 +16,13 @@ use IkiWiki::Setup::Standard {
url => "http://wiki.example.org",
cgiurl => "http://wiki.example.org/ikiwiki.cgi",
- templatedir => $ENV{'HOME'} . "/private_webdata/samplewiki/templates_nonedit",
+ templatedir => $ENV{'HOME'} . "/private_webdata/samplewiki/templates_nonedit_l10n/nb",
underlaydirs => [
$ENV{'HOME'} . "/private_webdata/samplewiki/content",
+ #$ENV{'HOME'} . "/private_webdata/samplewiki/smiley_l10n/nb",
+ $ENV{'HOME'} . "/private_webdata/samplewiki/basewiki_nonedit_l10n/nb",
],
+ # Some plugins (smiley in particular) need non-localized master underlay
underlaydir => $ENV{'HOME'} . "/private_webdata/samplewiki/basewiki_nonedit",
# Subversion stuff.
@@ -114,7 +117,7 @@ use IkiWiki::Setup::Standard {
# Time format (for strftime)
#timeformat => '%c',
# Locale to use. Must be a UTF-8 locale.
- #locale => 'en_US.UTF-8',
+ locale => 'nb_NO.UTF-8',
# Only send cookies over SSL connections.
#sslcookie => 1,
# Logging settings: