From: http://jmtd.livejournal.com/ Date: Fri, 23 Oct 2009 23:15:23 +0000 (-0400) Subject: had a crack at this tonight X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/ba7442b845d7857d69c77bcd512aa4e41dca4a22 had a crack at this tonight --- diff --git a/doc/todo/allow_site-wide_meta_definitions.mdwn b/doc/todo/allow_site-wide_meta_definitions.mdwn index 70ccc2b68..57bc7a6fd 100644 --- a/doc/todo/allow_site-wide_meta_definitions.mdwn +++ b/doc/todo/allow_site-wide_meta_definitions.mdwn @@ -72,3 +72,13 @@ my github ikiwiki fork): > by the fact that some (but not all!) meta headers are idempotent. > > --[[smcv]] + +>> Thanks for your comment. Tonight I had a go at implementing the syntax +>> you propose here. I decided the simplest thing to do might be for the scan +>> subroutine to convert any hashes found in the meta_defaults list into calls +>> to the preprocess routine. I've got a bit stuck trying to convert a hash to +>> a named parameter list (or just a subroutine parameter list that is). I may +>> try to look again in the morning (brain a bit sleepy) +>> +>> ...and on writing this comment I see your second suggestion was essentially +>> to do exactly that :) -- [[Jon]]