web commit by JoshTriplett: Add implementation possibilities.

master
joey 2007-01-18 19:56:40 +00:00
parent 3c6da7d518
commit 238964c2e1
1 changed files with 2 additions and 0 deletions

View File

@ -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 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 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. * 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.