+[2015-10-05T22:37:06Z]jekyllrbjaybe: Error: No factoid matches that key. +[2015-10-05T22:37:06Z]jaybe{{ [myvar] }} or something? +[2015-10-05T22:37:11Z]jaybe;\ +[2015-10-05T22:37:12Z]jaybe;p +[2015-10-05T23:30:04Z]jaybei wonder if re-evaluating a variable via its value within another variable is even possible
message no. 115020
Posted by jaybe in #jekyll at 2015-10-05T22:37:06Z
{{ [myvar] }} or something?
+[2015-10-06T01:30:36Z]allejojaybe, could you give another example as to what you're trying to achieve? +[2015-10-06T01:32:26Z]jaybei want to get the output of {{ page }} (show all defined page. variables) ... by calling {{ page }} from another variable, "myvar", which is set to "page". i.e. i want to be able to then call {{ $myvar }} +[2015-10-06T01:33:13Z]jaybei want the variable, $myvar, to be expanded and {{ }} displays the contents of the value of myvar +[2015-10-06T01:46:01Z]allejowould the capture block be of help to you? +[2015-10-06T02:10:14Z]jaybei hoped it would. it captures, however, the challenge is getting the liquid expression to expand the variable's value then render it