diff --git a/app/views/layouts/mailer.html.haml b/app/views/layouts/mailer.html.haml index 8c2b897ec..88cfc460f 100644 --- a/app/views/layouts/mailer.html.haml +++ b/app/views/layouts/mailer.html.haml @@ -79,7 +79,7 @@ %h4 = site_title %p.email-footer-p - = t 'about.hosted_on', domain: site_hostname + = t 'about.hosted_on', domain: site_hostname, title: Setting.site_title %p.email-footer-p = link_to t('application_mailer.notification_preferences'), settings_preferences_notifications_url - if defined?(@unsubscribe_url) diff --git a/app/views/layouts/mailer.text.erb b/app/views/layouts/mailer.text.erb index 87b0b2929..20c095d38 100644 --- a/app/views/layouts/mailer.text.erb +++ b/app/views/layouts/mailer.text.erb @@ -1,5 +1,5 @@ <%= yield %> --- -<%= t 'about.hosted_on', domain: site_hostname %> +<%= t 'about.hosted_on', domain: site_hostname, title: Setting.site_title %> <%= t('application_mailer.settings', link: settings_preferences_url) %> diff --git a/app/views/shared/_og.html.haml b/app/views/shared/_og.html.haml index d1e3cd9c6..75c15b7d9 100644 --- a/app/views/shared/_og.html.haml +++ b/app/views/shared/_og.html.haml @@ -3,7 +3,7 @@ %meta{ name: 'description', content: description }/ -= opengraph 'og:site_name', t('about.hosted_on', domain: site_hostname) += opengraph 'og:site_name', t('about.hosted_on', domain: site_hostname, title: Setting.site_title) = opengraph 'og:url', url_for(only_path: false) = opengraph 'og:type', 'website' = opengraph 'og:title', instance_presenter.title