From e17f925cf40a1032fbee6fbe5df711af1645da39 Mon Sep 17 00:00:00 2001 From: tschwinge Date: Fri, 8 May 2009 16:20:59 -0400 Subject: [PATCH 1/1] Usage information. --- ..._42__copyright__42___and___42__license__42__.mdwn | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn b/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn index adb414ffb..5e3db3d7c 100644 --- a/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn +++ b/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn @@ -6,8 +6,11 @@ Someone was just asking for it and I had written these two plugins already some months ago, so I'm now publishing them here. - - +[`copyright.pm`](http://www.schwinge.homeip.net/~thomas/tmp/copyright.pm) +and +[`license.pm`](http://www.schwinge.homeip.net/~thomas/tmp/license.pm) + +Usage instructions are found inside the two plugin files. --[[tschwinge]] @@ -28,6 +31,11 @@ those plugins with a current ikiwiki release, i.e. 2.61, but they appeared to do nothing, really. Also, those example pages don't seem to use those plugins, even; they set "copyright" and "license" properties using ordinary [[meta]] tags. Maybe I'm missing something terribly obvious? --Peter + > Only obvious if you read the source :-). You need to put a file named "copyright.html" >(respectively "license.html") in your wiki. Everything underneath that (in the wikilink sense) will use that >content for the license or copyright. Saves putting \[[meta license="foo"]] in every page [[DavidBremner]] + +By the way: these need not be *HTML* files; `copyright.mdwn`, +respectively `license.mdwn`, or every other format supported +by ikiwiki are likewise fine. --[[tschwinge]] -- 2.44.0