aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn
diff options
context:
space:
mode:
authorblipvert <blipvert@web>2010-05-04 15:41:56 +0000
committerJoey Hess <joey@finch.kitenet.net>2010-05-04 15:41:56 +0000
commit48b5b7feccb76f44c4eb2b21dbb049940331ef28 (patch)
treea5f13132bcdbbcefad517240904448005f27ef63 /doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn
parent89e0669692eaf597596f1da36e8c385330c594ff (diff)
downloadikiwiki-48b5b7feccb76f44c4eb2b21dbb049940331ef28.tar
ikiwiki-48b5b7feccb76f44c4eb2b21dbb049940331ef28.tar.gz
Diffstat (limited to 'doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn')
-rw-r--r--doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn b/doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn
new file mode 100644
index 000000000..1a454d37d
--- /dev/null
+++ b/doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn
@@ -0,0 +1,5 @@
+In particular, it's kind of annoying that using the sidebar plugin results in the creation of a free-standing sidebar.html (which in the simplest case of course includes a copy of *its own content* as a sidebar in the simplest case). It would be nice if there were a way to tell Ikiwiki to treat a file like sidebar.mdwn as "inline only": allow its content to be inlined but not to render it separately nor allow linking to it.
+
+In reading through the code and associated docs, it appears that the ideal method is for the file to be removed from the $changed array by plugin's "needsbuild" hook. Either the sidebar plugin could define such a hook, or perhaps a more general solution is the creation of a meta variable or config file regexp that would handle it according to the user's wishes.
+
+I'm about ready to code up such a change but want to find out if I'm thinking along the right lines. --[[blipvert]]