From a80cb12c8c0d5e5106c3698bdcf5338559d09bf3 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sat, 23 Jul 2011 17:40:17 -0400 Subject: [PATCH] fixed typos and cleand up the image tag plugin --- plugins/image_tag.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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