summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://adam.shand.net/ <Adam@web>2011-01-24 14:52:23 +0000
committerJoey Hess <joey@kitenet.net>2011-01-24 14:52:23 +0000
commitb424e3a34a3aaf546cafae40ce999ee0459adda9 (patch)
treeb3cb302c25422815e68665e5c8bf4c1ec3e9ec49
parent2ffd789200460d17dfb589f6e29448aa0c6cc0d5 (diff)
-rw-r--r--doc/forum/Possible_to_use_meta_variables_in_templates__63__.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/forum/Possible_to_use_meta_variables_in_templates__63__.mdwn b/doc/forum/Possible_to_use_meta_variables_in_templates__63__.mdwn
new file mode 100644
index 000000000..893911630
--- /dev/null
+++ b/doc/forum/Possible_to_use_meta_variables_in_templates__63__.mdwn
@@ -0,0 +1,11 @@
+I'm trying to create a [!iki plugins/template desc=template]] which references variables from the [!iki plugins/meta desc=meta plugin]], but either it's not supported or I'm doing something wrong. This is what my template looks like:
+
+ <div class="attributionbox">
+ <p><b>Written by:</b> <a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a></p>
+ <p><TMPL_VAR text></b></p>
+ </div>
+
+The template is working because I get the content, but all the places where I reference meta variables are blank. Is this supposed to work or am I trying to do something unsupported? Many thanks for any pointers.
+
+Cheers,
+[[AdamShand]]