aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/image_tag.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/image_tag.rb b/plugins/image_tag.rb
index d7c85925..7be4003d 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:
# <image class='left' src="http://site.com/images/ninja.png" title="Ninja Attack!" alt="Ninja Attack!">
@@ -30,7 +30,7 @@ module Jekyll
def render(context)
output = super
if @img
- figure = "<img class='#{@class}' src='#{@img}' alt='#{@title}' title='#{@title}'>"
+ "<img class='#{@class}' src='#{@img}' alt='#{@title}' title='#{@title}'>"
else
"Error processing input, expected syntax: {% img [class name(s)] /url/to/image [title text] %}"
end