%li.card.article.has-signal{ class: ('has-article-footer' unless article.tags.empty? )}
  = article.signal
  = link_to article.title, article, class: 'article-title'
  - unless article.tags.empty?
    .article-footer
      %ul.list.list--inline{ 'data-ui-component' => 'tag-list' }
        - article.tags.each do |t|
          %li.list-item= link_to t.name, tag_path(t), class: 'label label--link'

%li.card.list-item.article.has-signal{ class: ('has-article-footer' unless article.tags.empty? )}
  = article.signal
  = link_to article.title, article, class: 'article-title'
  - unless article.tags.empty?
    .article-footer
      %ul.list.list--inline{ 'data-ui-component' => 'tag-list' }
        - article.tags.each do |t|
          %li.list-item= link_to t.name, tag_path(t), class: 'label label--link'

Add `list-item` class to Article partial
Add `list-item` class to Article partial
