require 'image_size' def image(name, title="") # all images are stored at content/pigs and only the main site routes them img = ImageSize.new IO.read("content/pigs/#{name}") "#{title}" end def youtube(url) < EOL end def dailymotion(url) < EOL end def google_video(url) < EOL end