summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/include.mk20
1 files changed, 19 insertions, 1 deletions
diff --git a/config/include.mk b/config/include.mk
index 864ebd2..9a57307 100644
--- a/config/include.mk
+++ b/config/include.mk
@@ -1,11 +1,13 @@
domain = example.com
+website = www.$(domain)
+srcsite = source.$(domain)
gitrepo = site/content
plugins = goodstuff \
plugins-off =
-admins =
+admins = \
IKIWIKI_CONFIG_OPTIONS = \
--wikiname 'SampleWiki' \
@@ -14,6 +16,11 @@ IKIWIKI_CONFIG_OPTIONS = \
$(patsubst %,--plugin %,$(plugins)) \
$(patsubst %,--disable-plugin %,$(plugins-off)) \
+# paths
+#IKIWIKI_CONFIG_OPTIONS += --set-yaml add_underlays='- $(CURDIR)/styling'
+IKIWIKI_CONFIG_OPTIONS += \
+ --set wikistatedir='$(CURDIR)/.ikiwiki' \
+
# collaboration/aggregation
IKIWIKI_CONFIG_OPTIONS += \
--allowrss \
@@ -21,9 +28,20 @@ IKIWIKI_CONFIG_OPTIONS += \
# styling
IKIWIKI_CONFIG_OPTIONS += \
+ --set theme=goab \
# CGI
IKIWIKI_CONFIG_OPTIONS += \
+ --url 'http://$(website)/' \
+ --cgiurl 'http://$(website)/ikiwiki.cgi' \
+ --set cgi_wrapper='$(CURDIR)/build/cgi/ikiwiki.cgi' \
+ --set cgi_wrappermode=00755 \
# VCS
IKIWIKI_CONFIG_OPTIONS += \
+ --rcs=git \
+ --historyurl 'http://$(srcsite)/?p=$(gitrepo).git;a=history;f=[[file]]' \
+ --diffurl 'http://$(srcsite)/?p=$(gitrepo).git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]' \
+ --set git_wrapper='$(CURDIR)/build/git/post-update-ikiwiki' \
+ --set git_wrappermode=06755 \
+