From 8aff80141bbddb077083357bdd8dadb8de55048c Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Tue, 26 May 2020 21:16:20 -0400 Subject: [PATCH] Updated meta description to be tagline instead of about MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - meta description to be tagline instead of about --- app/views/layouts/application.html.haml | 2 +- app/views/shared/_og.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 7c1f5268..692e320d 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -37,7 +37,7 @@ - elsif @account && @account.local? = render 'accounts/meta', account: @account, older_url: nil, newer_url: nil - else - - description = strip_tags(t('about.about_gabsocial_html')) + - description = strip_tags(t('about.tagline')) %meta{ name: 'description', content: description }/ %title= content_for?(:page_title) ? safe_join([yield(:page_title).chomp.html_safe, title], ' - ') : title diff --git a/app/views/shared/_og.html.haml b/app/views/shared/_og.html.haml index 8fc07fe1..8e235d3a 100644 --- a/app/views/shared/_og.html.haml +++ b/app/views/shared/_og.html.haml @@ -1,5 +1,5 @@ - thumbnail = @instance_presenter.thumbnail -- description = strip_tags(@instance_presenter.site_short_description.presence || @instance_presenter.site_description.presence || t('about.about_gabsocial_html')) +- description = strip_tags(@instance_presenter.site_short_description.presence || @instance_presenter.site_description.presence || t('about.tagline')) %meta{ name: 'description', content: description }/