summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulePanter <PaulePanter@web>2009-06-28 17:30:18 -0400
committerJoey Hess <joey@kitenet.net>2009-06-28 17:30:18 -0400
commit2d01a51aab8753d3985b23c81cfe73cfe217d8da (patch)
tree71062a96d2065cce1772c899f0a25bd388426921
parent4ec70ba46981958444a85dfc7b03154c43fc2c94 (diff)
Further question on how to format or specify what `inline` should display.
-rw-r--r--doc/ikiwiki/directive/inline/discussion.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/ikiwiki/directive/inline/discussion.mdwn b/doc/ikiwiki/directive/inline/discussion.mdwn
index f7f091a4f..02530ce08 100644
--- a/doc/ikiwiki/directive/inline/discussion.mdwn
+++ b/doc/ikiwiki/directive/inline/discussion.mdwn
@@ -57,6 +57,23 @@ to nowhere for 20 bugs.« is shown inlined.
> So no, you can't reference template directive parameters inside inline's
> template, because it's already expanded at that point. --[[Joey]]
+>> Thank you for the explanation. Can you think of another way to accomplish
+>> my goals?
+>>
+>> Right now, I only see the option to edit the title with the
+>> `[[/ikiwiki/directive/meta]]` directive and the field `title`.
+>>
+>> How could a solution look like?
+>>
+>> 1. The possibility to add custom fields to the `meta` directive.
+>> 1. The possibility to specify in a page, how the page should be displayed
+>> when used by inlined. That could be done by a new directive `cinlined`
+>> (for »custom inlined«) which is chosen by the `inline` directive to
+>> display if told to do so.
+>>
+>> [[!cinlined text="""Text which can also use Parameter, bla blubb …"""]]
+>> --[[PaulePanter]]
+
## meta parameters are not enough
I think I have the same problem as Paule, as I want extra arbitary parameters in my template.