We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd6c3a8 commit f17cfd2Copy full SHA for f17cfd2
lib/jekyll-gist/gist_tag.rb
@@ -5,10 +5,10 @@ class GistTag < Liquid::Tag
5
def render(context)
6
if tag_contents = determine_arguments(@markup.strip)
7
gist_id, filename = tag_contents[0], tag_contents[1]
8
- if context.key?(gist_id)
+ if context[gist_id]
9
gist_id = context[gist_id]
10
end
11
- if context.key?(filename)
+ if context[filename]
12
filename = context[filename]
13
14
gist_script_tag(gist_id, filename)
0 commit comments