1 ## How do you provide the per post discussion links in your own blog?
3 > That's configured by the "actions" parameter to the inline directive. See
4 > docs in [[plugins/inline]]. --[[Joey]]
6 And do you have any ideas/hints about implementing a "comments" feature.
7 What I'm after is something for users who don't quite understand the Wiki
8 style for discussions. I would like to have a form for them to post a
9 comment and have the comment appended to the discussion Wiki-style. Maybe
10 take it as far as implementing "replies" to other comments.
14 > See [[plugins/comments]]
19 ## More dynamic `rootpage` parameter of inline plugin?
21 (Moved to [[todo/dynamic_rootpage]])
27 Is there a simple way to exclude images, stylesheets, and other
28 "non-page" files other than a blacklist approach like
29 `pages="* and !*.png and !*.css"`? --[[JasonBlevins]]
31 > The [[plugins/filecheck]] plugin adds a 'ispage()' pagespec test that can do that.
36 ## Documentation for parameter `template`?
38 I would be especially interested in a list of variables which can be used in such a template.
40 > I try to keep ikiwiki's templates self-documenting, so if you take
41 > a look at a template used by inline, such as the default `/usr/share/ikiwiki/template/inlinepage.tmpl`,
42 > you can see all or nearly all the template variables in use in it.
44 I have a page template with some structured information as parameters. For
45 example `location="nowhere"` and `price="20"`. Is there a possibility to
46 extract those information, i. e. access the parameters, to compose the item
47 for the inline directive from these information? For example the line »Go
48 to nowhere for 20 bugs.« is shown inlined.
52 > Let's not confuse the template directive with the templates used by inline.
53 > When a page is inlined, any template directives in it are first expanded,
54 > using the user-defined templates for that. Then, the inline directive's
55 > template is used to insert it into the inlining page.
57 > So no, you can't reference template directive parameters inside inline's
58 > template, because it's already expanded at that point. --[[Joey]]