Why am I getting an unexpected endwhile?
<p></p>

<pre><code>    &lt;?php
        $loop = new WP_Query(array('post_type' =&gt; 'portfolio', 'posts_per_page' =&gt; -1)); 
        while ( $loop-&gt;have_posts() ) : $loop-&gt;the_post();

        $custom = get_post_custom($post-&gt;ID);
        $special_notes = $custom["special_notes"][0];
        $website_url = $custom["website_url"][0];
        $view_more = $custom["view_more"][0];
    ?&gt;

    &lt;article class="project"&gt;
        &lt;section class="thumbnail"&gt;
            &lt;?php the_post_thumbnail(); ?&gt;
            &lt;section class="description"&gt;
                &lt;hgroup&gt;
                    &lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
                    &lt;h3&gt;
                        &lt;?php
                        $terms_as_text = get_the_term_list( $post-&gt;ID, 'Skills', '', ', ', '' ) ;
                        echo strip_tags($terms_as_text);
                        ?&gt;
                    &lt;/h3&gt;
                &lt;/hgroup&gt;
                &lt;?php the_content(); ?&gt;
                &lt;p class="star"&gt;&lt;?=$special_notes?&gt;&lt;/p&gt;
                &lt;span&gt;
                    &lt;?php if (!empty($website_url)) { echo 'Launch &lt;a href="' . $website_url . '" target="_blank"&gt;Website&lt;a&gt;' ?&gt; | Read &lt;a href="&lt;?=$view_more?&gt;" target="_blank"&gt;more&lt;/a&gt; about this project
                &lt;/span&gt;
            &lt;/section&gt;
        &lt;/section&gt;
    &lt;/article&gt;

    &lt;?php endwhile; ?&gt;

&lt;/section&gt;
</code></pre>

<p>I get an unexpected endwhile on line 35. Can someone help me out?</p>
