<% present entry do |entry_presenter| %>

  <% if content.present? %>
      <% if content_info.present? && !entry_presenter.feed_domain_matches?(content_info.domain) %>
        <div class="original-content-info entry-callout">
          <%= favicon_with_host(content_info.domain) %>
          <% if content_info.title.present? %>
            <div class="original-title"><a href="<%= content_info.url %>"><%= content_info.title %></a></div>
          <% end %>
          <div class="original-meta">
            <strong>Originally from:</strong>
              <%= content_info.domain %>

              <% if content_info.date_published.present? %>
                - <time datetime="<%= entry_presenter.parsed_date(content_info.date_published, :datetime) %>"><%= entry_presenter.parsed_date(content_info.date_published, :date) %></time>
              <% end %>

              <% if content_info.author.present? %>
                by <%= content_info.author %>
              <% end %>
            </div>
        </div>
      <% end %>

      <% if content_info.blank? %>
        <%= render partial: 'media', locals: {entry: entry} %>
      <% end %>

      <div class="entry-final-content">
          <%= content.html_safe %>
      </div>

  <% else %>
      <p class="content-error entry-callout">Unable to get this article’s content.</p>
  <% end %>

<% end %>
<% present entry do |entry_presenter| %>

  <% if content.present? %>
      <% if content_info.present? && !entry_presenter.feed_domain_matches?(content_info.domain) %>
        <div class="original-content-info entry-callout">
          <%= favicon_with_host(content_info.domain) %>
          <% if content_info.title.present? %>
            <div class="original-title"><a href="<%= content_info.url %>"><%= content_info.title %></a></div>
          <% end %>
          <div class="original-meta">
            <strong>Originally from:</strong>
              <%= content_info.domain %>

              <% if content_info.date_published.present? %>
                - <time datetime="<%= entry_presenter.parsed_date(content_info.date_published, :datetime) %>"><%= entry_presenter.parsed_date(content_info.date_published, :date) %></time>
              <% end %>

              <% if content_info.author.present? %>
                by <%= content_info.author %>
              <% end %>
            </div>
        </div>
      <% end %>

      <% if content_info.blank? %>
        <%= render partial: 'media', locals: {entry: entry} %>
      <% end %>

      <div class="entry-final-content" data-behavior="entry_final_content">
          <%= content.html_safe %>
      </div>

  <% else %>
      <p class="content-error entry-callout">Unable to get this article’s content.</p>
  <% end %>

<% end %>
Fix "View in Feedbin" when using full content view.
Fix "View in Feedbin" when using full content view.
