This should help you:
<?php
if ( !is_singular() ) :
echo '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">';
endif;?>
Here is your existing <article></article> codes
<?php
if ( !is_singular() ) :
echo '</a>';
endif;?>