diff options
author | Joey Hess <joey@kitenet.net> | 2007-12-12 17:16:36 -0500 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2007-12-12 17:16:36 -0500 |
commit | dcc3d02cc0d104504a46eb7156349629454b0938 (patch) | |
tree | 9e4133110edadc63018519b4e5d82c279e540b07 /doc | |
parent | aa2e20cb127be5c2d245cf44c4b579e7e17e503d (diff) | |
download | ikiwiki-dcc3d02cc0d104504a46eb7156349629454b0938.tar ikiwiki-dcc3d02cc0d104504a46eb7156349629454b0938.tar.gz |
move to todo item, response
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ikiwiki/blog/discussion.mdwn | 18 | ||||
-rw-r--r-- | doc/todo/dynamic_rootpage.mdwn | 21 |
2 files changed, 22 insertions, 17 deletions
diff --git a/doc/ikiwiki/blog/discussion.mdwn b/doc/ikiwiki/blog/discussion.mdwn index 8e98e2e5e..91b2ff462 100644 --- a/doc/ikiwiki/blog/discussion.mdwn +++ b/doc/ikiwiki/blog/discussion.mdwn @@ -18,20 +18,4 @@ take it as far as implementing "replies" to other comments. ## More dynamic `rootpage` parameter of inline plugin? -I prefer to use a current year, month and day to archive my blog posts, for example -`post/2007/11/12/foo-bar-baz` path is better for me then `post/foo-bar-baz`. -Unfortunately it seems that `rootpage` parameter of inline plugin is very static. -Is it a chance to make it more dynamic? Now I have to use `svn mkdir` command -to create appropriate subdirectories by hand. - -I think that you could add builtin functions or variables, for example `current_year()` -or `$CURRENT_YEAR` to usage inside `rootpage` parameter. Something like for Manoj's -calendar plugin. Then my `rootpage` parameter could be like -`rootpage="post/current_year()/current_month()/current_day()"`. Another good hints -are welcomed ;) - -What's your opinion, Joey? I hope it's also useful for another ikiwiki lovers :) - ---[[Paweł|ptecza]] - ->> Hello Joey! Is it a taboo subject? ;) --[[Paweł|ptecza]] +(Moved to [[todo/dynamic_rootpage]]) diff --git a/doc/todo/dynamic_rootpage.mdwn b/doc/todo/dynamic_rootpage.mdwn new file mode 100644 index 000000000..fe95aff56 --- /dev/null +++ b/doc/todo/dynamic_rootpage.mdwn @@ -0,0 +1,21 @@ +I prefer to use a current year, month and day to archive my blog posts, for example +`post/2007/11/12/foo-bar-baz` path is better for me then `post/foo-bar-baz`. +Unfortunately it seems that `rootpage` parameter of inline plugin is very static. +Is it a chance to make it more dynamic? Now I have to use `svn mkdir` command +to create appropriate subdirectories by hand. + +I think that you could add builtin functions or variables, for example `current_year()` +or `$CURRENT_YEAR` to usage inside `rootpage` parameter. Something like for Manoj's +calendar plugin. Then my `rootpage` parameter could be like +`rootpage="post/current_year()/current_month()/current_day()"`. Another good hints +are welcomed ;) + +What's your opinion, Joey? I hope it's also useful for another ikiwiki lovers :) + +--[[Paweł|ptecza]] + +>> Hello Joey! Is it a taboo subject? ;) --[[Paweł|ptecza]] + +>> 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]] |