extends frame
block main-content
  -var featureUrl
  if(feature_image.length != 0)
    -featureUrl = feature_image[0].substr(7, feature_image[0].length)
  else
    -featureUrl = ''
  section.content#post-content
      #header-post
        #header-one
            label#the-title 
                a(href="/") thetwelfthhouse
            span#post-title= title              
        img#featured-img(src=featureUrl)  
      #post-display
            #post-text !{entry}