Add conditionals for article attributes in views