Commit 02182cb2 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

yohan's magic

parent 1ca6aab3
......@@ -29,7 +29,8 @@ module Jekyll
return expr[1..-2]
# expression contains a dot and is not longer than 20 characters
elsif expr.include? "." and args[0].length < 20
elsif expr.start_with? "{{" and expr.end_with? "}}"
expr = expr[2..-3].strip
vars = expr.split('.')
result = context
vars.each do |variable|
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment