12 lines
290 B
Ruby
12 lines
290 B
Ruby
|
# http://stackoverflow.com/questions/14487110/include-jekyll-liquid-template-data-in-a-yaml-variable
|
||
|
|
||
|
module Jekyll
|
||
|
module LiquifyFilter
|
||
|
def liquify(input)
|
||
|
Liquid::Template.parse(input).render(@context)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
|
||
|
Liquid::Template.register_filter(Jekyll::LiquifyFilter)
|