From: Joey Hess Date: Thu, 17 Apr 2008 06:29:18 +0000 (-0400) Subject: web commit by http://sabr.myopenid.com/ X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/2512ceebb06ac4c20bc9ad06cd3d7c6d4e32ac8e web commit by http://sabr.myopenid.com/ --- diff --git a/doc/todo/dynamic_rootpage.mdwn b/doc/todo/dynamic_rootpage.mdwn index fe95aff56..fa0e23254 100644 --- a/doc/todo/dynamic_rootpage.mdwn +++ b/doc/todo/dynamic_rootpage.mdwn @@ -19,3 +19,7 @@ What's your opinion, Joey? I hope it's also useful for another ikiwiki lovers :) >> No, but I don't know of a way to do it that feels flexible and right.. >> Using functions as in your example doesn't feel right somehow. >> --[[Joey]] + +>>> Seems like a job for good ol' string interpolation. rootpage="post/$current_year/$current_month/$current_day" +>>> Ikiwiki could provide some vars, and it would be nice to write plugins to also provide vars. Sort of like templates. +>>> Does that feel OK? --[[sabr]]