]> sipb.mit.edu Git - ikiwiki.git/commitdiff
(no commit message)
authorhttp://adam.shand.net/ <Adam@web>
Mon, 24 Jan 2011 14:52:23 +0000 (14:52 +0000)
committerJoey Hess <joey@kitenet.net>
Mon, 24 Jan 2011 14:52:23 +0000 (14:52 +0000)
doc/forum/Possible_to_use_meta_variables_in_templates__63__.mdwn [new file with mode: 0644]

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 (file)
index 0000000..8939116
--- /dev/null
@@ -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]]