From 13aa2ef58cfe29ee421fa7c3598371562d99a470 Mon Sep 17 00:00:00 2001
From: Carl Worth <cworth@cworth.org>
Date: Fri, 15 Jun 2007 13:10:55 -0700
Subject: [PATCH] Turn off underlaydir to avoid errors

---
 ikiwiki.setup | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/ikiwiki.setup b/ikiwiki.setup
index 2e41717..91199a5 100644
--- a/ikiwiki.setup
+++ b/ikiwiki.setup
@@ -50,7 +50,17 @@ use IkiWiki::Setup::Standard {
 	# Everything else can be customised on an as-needed basis
 	srcdir => "$checkout/src",
 	templatedir => "$checkout/templates",
-	underlaydir => "$checkout/underlay",
+
+	# There's not really much point to having an underlay come
+	# from the same place as the rest of the source like this:
+	#
+	#	underlaydir => "$checkout/underlay",
+	#
+	# since you might as well put such content in src/ instead of
+	# in underlay. I suppose if you have some files common to
+	# several separate wiki instances then the underlay might
+	# still be useful. But for now, we'll just leave it off.
+	underlaydir = "/dev/null",
 
 	# Git stuff.
 	rcs => "git",
-- 
2.45.2