def render_teaser(article, article_counter=0)
      if article_counter < 0
        teaser = article.teaser && article.teaser.present? ? markdown(article.teaser) : nil
      else
        teaser = article.teaser && article.teaser.present? ? format_code(article.teaser) : format_code(article.content)
      end
      teaser
    end
def render_teaser(article, article_counter=0)
      if article_counter < 0
        teaser = article.teaser && article.teaser.present? ? markdown(article.teaser) : nil
      else
        teaser = article.teaser && article.teaser.present? ? format_code(article.teaser) : format_code(article.content)
      end
      teaser
    end
Renders the teaser for an article.