From 2512ceebb06ac4c20bc9ad06cd3d7c6d4e32ac8e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Apr 2008 02:29:18 -0400 Subject: web commit by http://sabr.myopenid.com/ --- doc/todo/dynamic_rootpage.mdwn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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]] -- cgit v1.2.3