<% title @article.title_with_query_preamble(user_signed_in?) %> <%= render "shared/payment_pointer", user: @article.user %> <%= render "shared/webcomponents_loader_script" %> <% if user_signed_in? %> <%= javascript_include_tag "webShare", "articlePage", "articleModerationTools", "commentDropdowns", defer: true %> <% else %> <%= javascript_include_tag "webShare", "articlePage", "commentDropdowns", defer: true %> <% end %> <% cache("content-related-optional-scripts-#{@article.id}-#{@article.updated_at}-#{internal_navigation?}-#{user_signed_in?}", expires_in: 30.hours) do %> <% unless internal_navigation? || user_signed_in? %> <% end %> <% end %> <% if internal_navigation? %> <%= meta_keywords_article(@article.cached_tag_list) %> <% else %> <%= content_for :page_meta do %> <%= meta_keywords_article(@article.cached_tag_list) %> " /> "> "> <% if @article.published %> <% end %> <% if @article.skip_indexing? %> <% end %> <% end %> <% end %>
<% unless @article.current_state.published? %>
<%= t("views.articles.#{@article.current_state}.subtitle") %><%= t("views.articles.#{@article.current_state}.text") %> <% if user_signed_in? %> <% end %>
<% end %> <% if @article.video_state == "PROGRESSING" %>
<%= t("views.editor.video.progress.heading") %>
<% end %>
" data-path="<%= @article.path %>" data-pin-path="<%= stories_feed_pinned_article_path %>" data-pinned-article-id="<%= @pinned_article_id %>" data-published="<%= @article.published? %>" data-scheduled="<%= @article.scheduled? %>" <%= @article.language? ? "lang=#{@article.language}" : " " %> <%= @article.pinned? ? "data-pinned" : " " %>>
<% if @article.video.present? %> <%= render "articles/video_player", meta_tags: true, article: @article %> <% elsif @article.main_image.present? %> Cover image for <%= @article.title %> <% end %>
<% if @organization %> <%= @organization.name %> profile image <%= @user.name %> <% else %> <%= @user.name %> <% end %>
<%= @user.name %> <% if @organization %> <%= t("views.articles.for_org_html", start: tag("span", { class: "color-base-60" }, true), end: "".html_safe, org: tag.a(@organization.name, href: @organization.path, class: "crayons-link")) %> <% end %>

<% if @article.published_timestamp.present? %> <%= t("views.articles.#{@article.current_state}_html", date: local_date(@article.published_timestamp, show_year: @article.displayable_published_at.year != Time.current.year)) %> <% end %> <% if @article.co_author_ids.present? %> <%= t("views.articles.co_authors_html", names: @article.co_author_name_and_path.html_safe) %> <% end %> <% if should_show_updated_on?(@article) %> • <%= t("views.articles.edited_html", date: local_date(@article.edited_at, show_year: @article.edited_at.year != Time.current.year)) %> <% end %> <% if should_show_crossposted_on?(@article) %> • <%= t("views.articles.crossposted.text_html", url: link_to(get_host_without_www(@article.canonical_url || @article.feed_source_url), @article.canonical_url || @article.feed_source_url, style: "color:#1395b8"), on: if @article.crossposted_at t("views.articles.crossposted.on_html", date: local_date(@article.originally_published_at || @article.published_at, show_year: (@article.originally_published_at || @article.published_at).year != Time.current.year)) else "" end) %> <% end %>

<%= render "articles/multiple_engagements" unless @article.public_reactions_count.zero? %>

<% if @article.search_optimized_title_preamble.present? && !user_signed_in? %> <%= @article.search_optimized_title_preamble %> <% end %> <%= @article.title %>

<% cache("main-article-tags-#{@article.cached_tag_list}", expires_in: 30.hours) do %>
<% @article.cached_tag_list_array.each do |tag| %> <%= render_tag_link(tag) %> <% end %>
<% end %>
<% 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 %>
<% cache("specific-article-extra-scripts-#{@article.id}-#{@article.updated_at}", expires_in: 24.hours) do %> <% if has_vid?(@article) %> <%= render "articles/fitvids" %> <% end %> <% if @article.processed_html.include?('class="twitter-tweet"') || @article.processed_html.include?("ltag_twitter_timeline-liquid-tag") %> <% end %> <% if @article.processed_html.include? "instagram-media" %> <% end %> <% end %> <%= render "moderations/modals/suspend_user_modal" %> <%= render "moderations/modals/unsuspend_user_modal" %> <%= render "moderations/modals/unpublish_all_posts" %> <%= render "moderations/modals/unpublish_post_modal" %> <%= render "moderations/modals/flag_user_modal" %> <%= render "moderations/modals/unflag_user_modal" %>
<%= javascript_include_tag "followButtons", "billboard", "localizeArticleDates", "articleReactions", defer: true %>