.portfolio
  %h1= @portfolio.title
  =raw @portfolio.description







        

  #artworks=render @portfolio.artworks
  
  
  :coffeescript
  
    resize_artworks = ->
      $(".artwork .column img").css("max-height", ($(window).height()-130)+"px") 
      
    resize_artworks()
  
    $(window).on "resize", ->
      resize_artworks()
  


  