PHP Parse error: syntax error, unexpected 'endwhile' (T_ENDWHILE) in /wp-content/themes/awaken/page.php on line 26 : <p>i have error log </p>

<blockquote>
  <p>PHP Parse error:  syntax error, unexpected 'endwhile' (T_ENDWHILE) in
  /wp-content/themes/awaken/page.php
  on line 26</p>
</blockquote>

<p>my page.php </p>

<pre><code>get_header(); ?&gt;
&lt;div class="row"&gt;
&lt;?php is_rtl() ? $rtl = 'awaken-rtl' : $rtl = ''; ?&gt;
&lt;div class="col-xs-12 col-sm-12 col-md-8 &lt;?php echo $rtl ?&gt;"&gt;
    &lt;div id="primary" class="content-area"&gt;
        &lt;main id="main" class="site-main" role="main"&gt;
            &lt;?php while ( have_posts() ) : the_post(); ?&gt;
                &lt;?php get_template_part( 'content', 'page' ); ?&gt;
                &lt;?php if ( get_theme_mod( 'display_page_comments', 1 ) ) { // If comments are open or we have at least one comment, load up the comment template if ( comments_open() || '0' != get_comments_number() ) : comments_template(); endif; } ?&gt;
            &lt;?php endwhile; // end of the loop. ?&gt;
        &lt;/main&gt;&lt;!-- #main --&gt;
    &lt;/div&gt;&lt;!-- #primary --&gt;
&lt;/div&gt;&lt;!-- .bootstrap cols --&gt;
&lt;div class="col-xs-12 col-sm-6 col-md-4"&gt;
    &lt;?php get_sidebar(); ?&gt;
&lt;/div&gt;&lt;!-- .bootstrap cols --&gt;
&lt;/div&gt;&lt;!-- .row --&gt;
&lt;?php get_footer(); ?&gt;
</code></pre>

<p>Please help!
i have a 503 error, and think it's a problem</p>
