diff --git a/plugins/image_tag.rb b/plugins/image_tag.rb index d7c8592..7be4003 100644 --- a/plugins/image_tag.rb +++ b/plugins/image_tag.rb @@ -5,7 +5,7 @@ # Syntax {% image [class name(s)] url [title text] %} # # Example: -# {% imaeg left half http://site.com/images/ninja.png Ninja Attack! %} +# {% ima left half http://site.com/images/ninja.png Ninja Attack! %} # # Output: # Ninja Attack! @@ -30,7 +30,7 @@ module Jekyll def render(context) output = super if @img - figure = "#{@title}" + "#{@title}" else "Error processing input, expected syntax: {% img [class name(s)] /url/to/image [title text] %}" end