.portfolio
	#intro{:style => "padding:10px;margin:1em auto;"}
		%h1=@portfolio.title
		=markdown @portfolio.markdown_content

	#style_2_portfolio_images{:style => "margin:0 auto;"}

		
	
		-@portfolio.images.each do |img|
			-if img.photo?

			
				.box=image_tag img.photo.thumb.url+"?"+img.updated_at.to_s, :class => "image", :style => "width:"+(img.ratio > 1 ? "200" : "200")+"px;padding:5px;"
	