<% summary = local_assigns.fetch :summary, false %>

<article class="article">
    <div class="page-header">
        <h1 class="article-title">
            <%= link_to article.title, article %>
        </h1>

        <p class="article-byline"><%= article_byline article %></p>
    </div>

    <div class="article-body">
        <% if summary %>
            <%= truncate_html article_body(article), length: 500, omission: ' &hellip;'.html_safe %>
        <% else %>
            <%= article_body article %>
        <% end %>
    </div>

    <% if summary %>
        <ul class="list-inline">
            <li><%= link_to article do %>
                Read the full article
            <% end %></li>
            <li><%= link_to article_path(article, anchor: 'comments') do %>
                Read the comments (<%= article.comments.count %>)
            <% end %></li>
        </ul>
    <% end %>
</article>


<% summary = local_assigns.fetch :summary, false %>

<article class="article">
    <div class="page-header">
        <h1 class="article-title">
            <%= link_to article.title, article %>
        </h1>

        <p class="article-byline"><%= article_byline article %></p>
    </div>

    <div class="article-body">
        <% if summary %>
            <%= truncate_html article_body(article), length: 500, omission: ' &hellip;'.html_safe %>
        <% else %>
            <%= article_body article %>
        <% end %>
    </div>

    <% if summary %>
        <ul class="list-inline">
            <li><%= link_to article do %>
                Read the full article
            <% end %></li>
            <li><%= link_to article_path(article, anchor: 'comment-area') do %>
                Read the comments (<%= article.comments.count %>)
            <% end %></li>
        </ul>
    <% end %>
</article>


Fix the link to the comments.
Fix the link to the comments.
