<% if @article.video.present? %>
<%= render "articles/video_player", meta_tags: true, article: @article %>
<% elsif @article.main_image.present? %>
<% end %>
<% if @organization %>
<%= @organization.name %>
<% end %>
<% if @article.search_optimized_title_preamble.present? && !user_signed_in? %>
<%= @article.search_optimized_title_preamble %>
<% end %>
<%= sanitize_and_decode @article.title %>
<% cache("main-article-tags-#{@article.cached_tag_list}", expires_in: 30.hours) do %>
<% end %>
<%= @user.name %>
<% if @article.published_timestamp.present? %>
<%= local_date(@article.published_timestamp, show_year: @article.displayable_published_at.year != Time.current.year) %>
<% end %>
<% if @article.co_author_ids.present? %>
with <%= @article.co_author_name_and_path.html_safe %>
<% end %>
<% if should_show_crossposted_on?(@article) %>
Originally published at
<%= get_host_without_www(@article.canonical_url || @article.feed_source_url) %>
<% if @article.crossposted_at %>
on
<%= local_date(@article.originally_published_at || @article.published_at, show_year: (@article.originally_published_at || @article.published_at).year != Time.current.year) %>
<% end %>
<% end %>
<% if should_show_updated_on?(@article) %>
・Updated on <%= local_date(@article.edited_at, show_year: @article.edited_at.year != Time.current.year) %>
<% end %>
・<%= @article.reading_time < 1 ? 1 : @article.reading_time %> min read
<% if @collection %>
<%= render "articles/collection",
rendered_article: @article,
collection: @collection,
articles: @collection_articles %>
<% end %>
<%= @article.processed_html.html_safe %>
<% if @article.long_markdown? && @collection %>
<%= render "articles/collection",
rendered_article: @article,
collection: @collection,
articles: @collection_articles %>
<% end %>
<%= render "articles/full_comment_area" %>
<% cache("article-bottom-content-#{@article.id}-#{user_signed_in?}-#{(@organization || @user).latest_article_updated_at}", expires_in: 18.hours) do %>
<% suggested_articles = Articles::Suggest.call(@article, max: 4) %>
<%= render "articles/bottom_content", articles: suggested_articles %>
<% end %>