Browse code

fixed typos and cleand up the image tag plugin

Brandon Mathis authored on 23/07/2011 at 21:40:17
Showing 1 changed files
... ...
@@ -5,7 +5,7 @@
5 5
 # Syntax {% image [class name(s)] url [title text] %}
6 6
 #
7 7
 # Example:
8
-# {% imaeg left half http://site.com/images/ninja.png Ninja Attack! %}
8
+# {% ima left half http://site.com/images/ninja.png Ninja Attack! %}
9 9
 #
10 10
 # Output:
11 11
 # <image class='left' src="http://site.com/images/ninja.png" title="Ninja Attack!" alt="Ninja Attack!">
... ...
@@ -30,7 +30,7 @@ module Jekyll
30 30
     def render(context)
31 31
       output = super
32 32
       if @img
33
-        figure =  "<img class='#{@class}' src='#{@img}' alt='#{@title}' title='#{@title}'>"
33
+        "<img class='#{@class}' src='#{@img}' alt='#{@title}' title='#{@title}'>"
34 34
       else
35 35
         "Error processing input, expected syntax: {% img [class name(s)] /url/to/image [title text] %}"
36 36
       end