<% title @article.title %> <% if @article.processed_html.include? "interactive-code-wrapper" %> <% end %> <% if @article.processed_html.include? "ltag_gist-liquid-tag" %> <%= javascript_include_tag 'https://cdnjs.cloudflare.com/ajax/libs/postscribe/2.0.8/postscribe.min.js', defer: true %> <% end %> <% if @article.processed_html.include? "runkit-element" %> <%= javascript_include_tag 'https://embed.runkit.com' %> <% end %> <%= content_for :page_meta do %> <% if @article.canonical_url.present? %> <% else %> <% end %> "> " /> "> <% if @article.published %> <% end %> <% if !@article.published || (@article.positive_reactions_count < 7 && @article.user.comments_count < 1 && !@article.featured) || @article.featured_number.to_i < 1500000000 || @article.score < -10 %> <% end %> <% end %>
<% if @article.video_state == "PROGRESSING" %>

⏳ Video Transcoding In Progress ⏳

<% end %>
">
<% if !@article.published %> Unpublished Post. This URL is public but secret, so share at your own discretion. Click to edit. <% end %> <% if @article.video.present? %> <%= render "articles/video_player", meta_tags: true, article: @article %> <% elsif @article.main_image.present? %>
<% else %>
<% end %>
<% if @organization %>
<%= @organization.name%>
<% end %>

<%= @article.title %>

<% if @user.twitter_username.present? %> <%= image_tag_or_inline_svg "twitter" %> <% end %> <% if @user.github_username.present? %> <%= image_tag_or_inline_svg "github" %> <% 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 <%= @article.edited_at.strftime("%b %d, %Y") if @article.edited_at %> <% elsif should_show_crossposted_on?(@article) %> Originally published at <%= get_host_without_www(@article.canonical_url || @article.feed_source_url) %> on <%= @article.published_at.strftime("%b %d, %Y") if @article.crossposted_at %> <% end %>

<% if @article.job_opportunity.present? %>
<% if @article.job_opportunity.location_city.present? %> <%= @article.job_opportunity.location_city %> <% end %> <% if @article.job_opportunity.remoteness_in_words.present? %> <%= @article.job_opportunity.remoteness_in_words %> <% end %>
<% end %>
<% @article.cached_tag_list_array.each do |tag| %> #<%= tag %> <% end %>
<%= render "articles/collection", position: "top" %>
<%= @article.processed_html.html_safe %>
<% if @article.body_markdown && @article.body_markdown.size > 900 %> <%= render "articles/collection", position: "bottom" %> <% end %> <%= render 'articles/actions' %>
<% if @article.body_markdown && @article.body_markdown.size > 900 %> <% cache("article-about-author-#{@user.id}-#{@user.updated_at}", :expires_in => 100.hours) do %> <%= render 'articles/about_author' %> <% end %> <% end %> <%= render 'articles/org_branding', organization: @organization %>
<% if @article.show_comments %>
<%= render "/comments/form", commentable: @article, commentable_type: "Article" %>
<% Comment.rooted_on(@article.id,"Article").order("score DESC").limit(@comments_to_show_count).each_with_index do |comment, i| %> <% cache ["comment_root_#{user_signed_in?}", comment] do %> <%= render("/comments/comment", comment:comment, commentable: @article, is_view_root: true) %> <% end %> <% end %>
<% end %>
<% cache("article-bottom-content-#{@article.cached_tag_list_array.sort}", :expires_in => 6.hours) do %> <% @classic_article = Suggester::Articles::Classic.new(@article).get %> <% if @classic_article %> <%= render "additional_content_boxes/article_box", article: @classic_article, classification: "classic", classification_text: "Classic DEV Post from #{@classic_article.readable_publish_date}", follow_cue: "Follow @#{@classic_article.user.username} to see more of their posts in your feed." %> <% end %>
<%= render 'articles/bottom_content' %> <% end %>
<% cache("sticky-sidebar-#{@article.id}-#{@article.updated_at}-#{(@organization || @user).updated_at}-#{user_signed_in?}", :expires_in => 8.hours) do %> <%= render "articles/sticky_nav" %> <% end %> <% 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 %> <% cache("article-show-scripts", expires_in: 6.hours) do %> <% end %>