diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 0ec870fc..f52990d4 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -36,9 +36,10 @@ = render 'stream_entries/meta', stream_entry: @stream_entry, account: @account - elsif @account && @account.local? = render 'accounts/meta', account: @account, older_url: nil, newer_url: nil + - elsif @group + = render 'groups/meta', group: @group - else - - description = strip_tags(t('about.tagline')) - %meta{ name: 'description', content: description }/ + = render partial: 'shared/og' %title= content_for?(:page_title) ? safe_join([yield(:page_title).chomp.html_safe, title], ' - ') : title