def show
      @first_page = true
      @article = Lines::Article.published.find(params[:id])
      @article.teaser = nil unless @article.teaser.present?
      meta_tags = { title: @article.title,
        type: 'article',
        url: url_for(@article),
        site_name: SITE_TITLE,
      }
      meta_tags[:image] = CONFIG[:host] + @article.image_url if @article.image_url.present?
      set_meta_tags title: @article.title,
                    keywords: KEYWORDS + @article.tag_list.to_s,
                    open_graph: meta_tags
      if request.path != article_path(@article)
        return redirect_to @article, status: :moved_permanently
      end

      @related_articles = Lines::Article.published.where('id != ?', @article.id).order('').limit(2)
    end
def show
      @first_page = true
      @article = Lines::Article.published.find(params[:id])
      @article.teaser = nil unless @article.teaser.present?
      meta_tags = { title: @article.title,
        type: 'article',
        url: url_for(@article),
        site_name: SITE_TITLE,
      }
      meta_tags[:image] = CONFIG[:host] + @article.image_url if @article.image_url.present?
      set_meta_tags title: @article.title,
                    keywords: KEYWORDS + @article.tag_list.to_s,
                    open_graph: meta_tags
      if request.path != article_path(@article)
        return redirect_to @article, status: :moved_permanently
      end

      @related_articles = Lines::Article.published.where('id != ?', @article.id).order('').limit(2)
    end
Shows specific article