- if !show_item? @article - @page_title = _('Content not displayed') = render 'elabs/layouts/hidden_entry_full', entity: @article - else - @page_title = @article.title .article.article--full %aside %ul %li = icon('user', ['fw']) %strong= _('Author:') = link_to @article.user.display_name, @article.user %li = icon('calendar-check', ['fw']) %strong= _('Published at:') = short_date @article.published_at %li = icon('calendar', ['fw']) %strong= _('Updated at:') = short_date @article.updated_at %li.separator = icon('info', ['fw']) %strong= _('SFW:') = boolean_icon_tag @article.sfw, 'is-sfw', 'is-nsfw' %li = icon('language', ['fw']) %strong= _('Language:') = link_to @article.language.name, @article.language %li = icon('license', ['fw']) %strong= _('License:') = link_to @article.license.name, @article.license %li.separator= render 'elabs/layouts/lists/projects', projects: @article.projects %li.separator= render 'elabs/layouts/lists/tags', tags: @article.tags .content %article{ lang: @article.language.iso639_1 } = markdown @article.excerpt = markdown @article.content = render 'elabs/comments/comments', entity: @article, new_comment: @new_comment, url: article_create_comment_path(@article)