<% 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? %> <%= 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.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? %> 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? %>
Cover image for <%= sanitize_and_decode @article.title %>
<% 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 %>
<% @article.cached_tag_list_array.each do |tag| %> <% tag_hash = tag_colors(tag) %> #<%= tag %> <% end %>
<% end %>
<%= @user.username %> profile image <%= @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 %>
<% 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 %>
<% cache("article-show-scripts", expires_in: 8.hours) do %> <% end %>