]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn
(no commit message)
[ikiwiki.git] / doc / plugins / contrib / default_content_for___42__copyright__42___and___42__license__42__.mdwn
index 0272d1ccb7655582f69f8a94b7bb5e036cdda398..168b35668d7100af0ff9e0a55c166356875f9534 100644 (file)
@@ -1,7 +1,7 @@
-[[template id=plugin name=copyright author="[[tschwinge]]"]]
-[[template id=plugin name=license author="[[tschwinge]]"]]
+[[!template id=plugin name=copyright author="[[tschwinge]]"]]
+[[!template id=plugin name=license author="[[tschwinge]]"]]
 
-[[meta title="default content for *copyright* and *license*"]]
+[[!meta title="default content for *copyright* and *license*"]]
 
 Someone was just asking for it and I had written these two plugins already some months ago,
 so I'm now publishing them here.
@@ -18,3 +18,15 @@ on the source pages, *tmpfs-notes_bing* and *tmpfs-notes_various*.
 They are different, but shouldn't be.
 
 --[[tschwinge]]
+
+I was asking about this in IRC the other day, but someone pointed me at the
+[[Varioki|todo/varioki_--_add_template_variables___40__with_closures_for_values__41___in_ikiwiki.setup]]
+plugin. It seems to me that it would be a better idea to have a way of defining
+template variables in general, rather than having to add a new plugin for every
+template variable somebody wants to use.
+
+--[[bma]]
+
+Copyright and license values are not "template values", they are values
+tracked by the meta plugin, and that various code compares and uses to fill
+out the templates. Something like varioki cannot do that. --[[Joey]]