summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-18 19:56:40 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-18 19:56:40 +0000
commit238964c2e1c8bad94528154637c6826ac6df4799 (patch)
treeb55b133d89c2b3c70cecf8f031522c9ce252fe91 /doc
parent3c6da7d518bd03a5c09d19fbe3fa57e400cec1a7 (diff)
web commit by JoshTriplett: Add implementation possibilities.
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/conditional_underlay_files.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/todo/conditional_underlay_files.mdwn b/doc/todo/conditional_underlay_files.mdwn
index 14736980b..d6abfd159 100644
--- a/doc/todo/conditional_underlay_files.mdwn
+++ b/doc/todo/conditional_underlay_files.mdwn
@@ -7,3 +7,5 @@ I'd like to see some way to include certain files from the underlay only when th
* Include favicon.ico only if you enable the [[plugins/favicon]] plugin.
* Include wikiicons/diff.png (and the wikiicons directory) only if you enable the CGI.
* Include a hypothetical restructuredtexthelp.rst or similar for other formats only with those formats enabled.
+
+I can see two good ways to implement this. Ideally, with [[conditional text based on ikiwiki features]] available, ikiwiki could parse a page like conditionalpages.mdwn, which could contain a set of conditional-wrapped page names; that seems like the most elegant and ikiwiki-like approach. Alternatively, ikiwiki.setup could contain a Perl-generated exclude option by default; that would work, but it seems hackish. \ No newline at end of file