summaryrefslogtreecommitdiff
path: root/doc/blog/discussion.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2007-11-12 12:33:39 -0500
committerJoey Hess <joey@kodama.kitenet.net>2007-11-12 12:33:39 -0500
commit3c3135c6a8e3f0770c6efdb8c5765affedb61106 (patch)
tree1b91e8af0001a5f0a6d13c722d946a0e13720f74 /doc/blog/discussion.mdwn
parenteebd2aab9910b0c769396c0335b06417aed684c9 (diff)
parente589b2aa6122420fd974a258411bdfb537eabc73 (diff)
Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info
Diffstat (limited to 'doc/blog/discussion.mdwn')
-rw-r--r--doc/blog/discussion.mdwn22
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/blog/discussion.mdwn b/doc/blog/discussion.mdwn
index 40e8c8f77..fb643bf23 100644
--- a/doc/blog/discussion.mdwn
+++ b/doc/blog/discussion.mdwn
@@ -1,4 +1,4 @@
-How do you provide the per post discussion links in your own blog?
+## How do you provide the per post discussion links in your own blog?
> That's configured by the "actions" parameter to the inline directive. See
> docs in [[plugins/inline]]. --[[Joey]]
@@ -13,3 +13,23 @@ take it as far as implementing "replies" to other comments.
> See [[todo/discussion_page_as_blog]] for some of my own thoughts on this
> --[[Joey]]
+
+---
+
+## 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]]