% 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_packs_with_chunks_tag "clipboardCopy", "webShare", "articlePage", "articleModerationTools", defer: true %>
<% else %>
<%= javascript_packs_with_chunks_tag "clipboardCopy", "webShare", "articlePage", defer: true %>
<% end %>
<% cache("content-related-optional-scripts-#{@article.id}-#{@article.updated_at}-#{internal_navigation?}-#{user_signed_in?}", expires_in: 30.hours) do %>
<% if @article.processed_html.include? "ltag_gist-liquid-tag" %>
<% end %>
<% unless internal_navigation? || user_signed_in? %>
<% end %>
<% end %>
<% if internal_navigation? %>
<% else %>
<%= content_for :page_meta do %>
" />
">
">
<% if @article.published %>
<% end %>
<% if !@article.published ||
(@article.score < 5 &&
@article.user.comments_count < 1 &&
!@article.featured &&
@article.processed_html.exclude?("")) ||
@article.featured_number.to_i < 1500000000 ||
@article.score < -1 %>
<% end %>
<% end %>
<% end %>
<% if !@article.published %>
Unpublished Post. This URL is public but secret, so share at your own discretion.
<% if user_signed_in? && policy(@article.object).update? %>
Click to edit.
<% end %>
<% end %>
<% if @article.video_state == "PROGRESSING" %>
⏳ Video Transcoding In Progress ⏳
<% end %>
<% if @article.video.present? %>
<%= render "articles/video_player", meta_tags: true, article: @article %>
<% elsif @article.main_image.present? %>
<% 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 %>
<% @article.cached_tag_list_array.each do |tag| %>
<% tag_hash = tag_colors(tag) %>
#<%= tag %>
<% end %>
<% 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 @second_user.present? %>
with <%= @second_user.name %>
<% end %>
<% if @third_user.present? %>
and <%= @third_user.name %>
<% end %>
<% if should_show_updated_on?(@article) %>
Updated on
<% elsif should_show_crossposted_on?(@article) %>
Originally published at
<%= get_host_without_www(@article.canonical_url || @article.feed_source_url) %>
<% if @article.crossposted_at %>
on
<% end %>
<% 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 %>
<% if @article.long_markdown? || @organization %>
<% if @article.long_markdown? %>
<%= render "articles/about_author", published: @article.readable_publish_date %>
<% end %>
<%= render "articles/org_branding", organization: @organization, author: @article.long_markdown? %>
<% end %>
<%= render "articles/full_comment_area" %>
<% cache("article-bottom-content-#{@article.id}-#{user_signed_in?}", expires_in: 18.hours) do %>
<% suggested_articles = ArticleSuggester.new(@article).articles(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"' %>
<% end %>
<% if @article.processed_html.include? "instagram-media" %>
<% end %>
<% end %>
<% cache("article-show-scripts", expires_in: 8.hours) do %>
<% end %>