:ruby

  css_classes = [
    "card",
    "card--icon",
    "card--poi",
    "card--poi--article",
    "icon--article--pin--before",
    properties[:double?] ? "card--double card--full-image" : "card--single card--extended-content"

  ].join(" ")


%article.js-card{class: css_classes}

  %a.link--wrapper{href: properties[:url]}

    = render partial: "components/cards/partials/card_content", locals: {properties: properties}

    - if properties[:post_date] && !properties[:double?]

      .card__footer
        %time.text-icon.icon--time--before{datetime: properties[:post_date]}
          = prettify_date(properties[:post_date])

:ruby

  css_classes = [
    "card",
    "card--icon",
    "card--poi",
    "card--poi--article",
    "card--small-image",
    "icon--article--pin--before",
    properties[:double?] ? "card--double card--full-image" : "card--single card--extended-content"

  ].join(" ")


%article.js-card{class: css_classes}

  %a.link--wrapper{href: properties[:url]}

    = render partial: "components/cards/partials/card_content", locals: {properties: properties}

    - if properties[:post_date] && !properties[:double?]

      .card__footer
        %time.text-icon.icon--time--before{datetime: properties[:post_date]}
          = prettify_date(properties[:post_date])

Revert "fix article haml for article images that are sized like place images" - change introduced image too large for article card.
Revert "fix article haml for article images that are sized like place images" - change introduced image too large for article card.

This reverts commit 962c321e061ac27d4fd383f01eb2783885eb5f7c.
